| 1 | complete --command nvm --exclusive |
| 2 | complete --command nvm --exclusive --long version --description "Print version" |
| 3 | complete --command nvm --exclusive --long help --description "Print help" |
| 4 | complete --command nvm --long silent --description "Suppress standard output" |
| 5 | |
| 6 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments install --description "Download and activate the specified Node version" |
| 7 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments use --description "Activate the specified Node version in the current shell" |
| 8 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list --description "List installed Node versions" |
| 9 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list-remote --description "List available Node versions to install" |
| 10 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments current --description "Print the currently-active Node version" |
| 11 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from install" --arguments "( |
| 12 | test -e $nvm_data && string split ' ' <$nvm_data/.index |
| 13 | )" |
| 14 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use" --arguments "(_nvm_list | string split ' ')" |
| 15 | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments uninstall --description "Uninstall the specified Node version" |
| 16 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from uninstall" --arguments "( |
| 17 | _nvm_list | string split ' ' | string replace system '' |
| 18 | )" |
| 19 | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" --arguments "( |
| 20 | set --query nvm_default_version && echo default |
| 21 | )" |