Reference · General

args

signature
args() -> list

What it does

What followed -- on the command line, as a list of text, for a script: quillo run tool.qwe -- a b gives ["a", "b"]. Options of quillo run go before the --. With none, it is an empty list.

Examples

print(args())
output
[]

See also

stdin, read_line, exit, read_file

Thread
5Useful? Like it, or add to its thread below.

Thread 0 posts

On args(): questions, tips, corrections, and code that uses it.

No posts yet. The first one opens the thread.

    Edit this page on GitHub · every example's output was made by running it (tools/refcheck.mjs) · questions on Discord or r/quillo