static-completion.yml
commands:
- name: js-completion
description: prints hello world
command: echo "hello world"
completion:
completionArray: [foo, bar, baz]
nca static-completion {tab}
Prints:
foo bar baz
Adding the flag merge: true
in the completion, merges the custom completion with the default yargs one.