Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 2.24 KB

README.md

File metadata and controls

37 lines (25 loc) · 2.24 KB

Examples

Native

Function

Modules

Custom completion

  • 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.

Advanced

  • 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.

Other

  • my nca commands - git repo where I track the nca commands I use.
  • tests - nca commands used for integration tests.