- hello world - simple hello world.
- invoke external program - invoke external program and pass it input arguments.
- function hello world - hello world but leveraging javascript interpreter.
- function option - passing option params to a nca command.
- function positional arguments - passing positional arguments to a nca command.
- function shell command execution - executing shell commands leveraging shelljs.
- js modules hello world - declaring and mantainig complex js scripts in yml could become unsustainable. This example shows how to directly execute a javascript module.
- js modules complex - using option and positional arguments with javascript modules.
- js modules shell command execution - executing shell commands leveraging shelljs inside javascript modules.
- js modules external npm dependencies - executing js scripts which use external npm dependencies.
- custom static completion - override yargs shell completion with a custom one statically defined.
- custom js completion - override yargs shell completion with a custom one returned by invoking a custom js module.
- custom js input completion - override yargs shell completion with a custom one returned by invoking a custom js module. It uses current command line status to determine what to return.
- type hints - get input type hints in js module and js custom completion.
- hierarchy - creating nca command hierarchies, to create complex command line interfaces.
- alias - create an alias for a long nca command or to use a nca command without typing
nca
prefix.
- my nca commands - git repo where I track the nca commands I use.
- tests - nca commands used for integration tests.