From 3b7994df523bbc7cad0d372e41fef6826e5d348e Mon Sep 17 00:00:00 2001 From: Andrey Mishchenko Date: Mon, 6 Dec 2021 23:21:05 -0500 Subject: [PATCH] Add completions for nodeenv v1.6.0 --- CHANGELOG.rst | 1 + share/completions/nodeenv.fish | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 share/completions/nodeenv.fish diff --git a/CHANGELOG.rst b/CHANGELOG.rst index aaa714645..3bc271028 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -128,6 +128,7 @@ Completions - ``kmutil`` - ``mono`` (:issue:`8415`) - Angular's ``ng`` (:issue:`8111`) + - ``nodeenv`` (:issue:`8533`) - ``pabcnet_clear`` (:issue:`8421`) - ``qmk`` (:issue:`8180`) - ``rakudo`` (:issue:`8113`) diff --git a/share/completions/nodeenv.fish b/share/completions/nodeenv.fish new file mode 100644 index 000000000..6af9ba480 --- /dev/null +++ b/share/completions/nodeenv.fish @@ -0,0 +1,31 @@ +# Generated by fish-python-argparse-completions v0.1.0, for nodeenv v1.6.0 +# (With manual modifications) +complete -c nodeenv -e +complete -c nodeenv -f +complete -c nodeenv -s h -l help -d 'Show this help message and exit' +complete -c nodeenv -l version -d 'Show nodeenv\'s version number and exit' +complete -c nodeenv -s n -l node -r -d 'The Node.js version to use' +complete -c nodeenv -l mirror -r -d 'The mirror of nodejs.org to download from' +complete -c nodeenv -s j -l jobs -r -d 'The number of compile jobs to run in parallel' +complete -c nodeenv -l load-average -r -d 'The maximum load average during parallel compilation.' +complete -c nodeenv -l without-ssl -d 'Build Node.js without SSL support' +complete -c nodeenv -l debug -d 'Enable debug build of Node.js' +complete -c nodeenv -l profile -d 'Enable profiling of Node.js' +complete -c nodeenv -l make -s m -r -d 'Path to make command' +complete -c nodeenv -l source -d 'Install Node.js from source' +complete -c nodeenv -s v -l verbose -d 'Verbose mode' +complete -c nodeenv -s q -l quiet -d 'Quiet mode' +complete -c nodeenv -s C -l config-file -r -d 'Config file to use instead of ~/.nodeenvrc' +complete -c nodeenv -s r -l requirements -r -d 'Install all Node.js packages listed in this file' +complete -c nodeenv -l prompt -r -d 'Set a custom prompt prefix for this environment' +complete -c nodeenv -s l -l list -d 'List available Node.js versions' +complete -c nodeenv -l update -d 'Install npm packages from file without Node.js' +complete -c nodeenv -l with-npm -d 'Build without installing npm into the new virtual environment' +complete -c nodeenv -l npm -r -d 'The npm version to use' +complete -c nodeenv -l no-npm-clean -d 'Skip the npm 0.x cleanup' +complete -c nodeenv -l python-virtualenv -s p -d 'Use the currently-active Python virtualenv' +complete -c nodeenv -l clean-src -s c -d 'Remove "src" directory after installation' +complete -c nodeenv -l force -d 'Force installation to an existing directory' +complete -c nodeenv -l prebuilt -d 'Install Node.js from a prebuilt package (default)' +complete -c nodeenv -l ignore_ssl_certs -d 'UNSAFE! Ignore SSL certs for package downloads' +complete -c nodeenv -F