1
1
mirror of https://github.com/wader/fq.git synced 2024-12-29 00:22:38 +03:00
fq/pkg/interp/args.jq.test

5 lines
200 B
Plaintext
Raw Normal View History

# basic usage
_args_parse(.args; .opts)
{"args": ["-a", "123", "b"], "opts": {"a": {"short": "-a", "long": "--abc", "description": "Set abc", "string": true}}}
{"parsed": {"a": "123"}, "rest": ["b"]}