name: Tokay
template: |
{bin} {version}
© 2022 by {author}
{about}
{all-args}
Program and input arguments are either loaded from a file if a file with
specified name exists, otherwise they are used directly as input. Use '-f'
to disable this behavior. Specify '-' to use stdin as input file.
When no arguments are specified, {bin} turns into an interactive REPL.
Visit https://tokay.dev for help and further information.
{bin} is free software released under the MIT license.
args:
- program:
help: |
Program to compile and run.
index: 1
- input:
help: |
Input for program to operate on.
If no program is specified, the REPL works on this input.
last: true
multiple: true
- files:
help: Accept only files as parameters, no string fallbacks.
short: f
long: files
- debug:
short: d
multiple: true
help: Sets the debug level
- license:
short: l
help: Show license agreement and exit