From ee996ec1691bf552db8a07ac4b7c65f50a55a111 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Thu, 11 May 2023 21:08:36 +1000 Subject: [PATCH] fix(completions): clean-up (#484) --- custom-completions/README.md | 9 +++++ custom-completions/ani-cli/README.md | 9 ----- custom-completions/bitwarden-cli/README.md | 12 ------ custom-completions/btm/README.md | 9 ----- custom-completions/cargo/README.md | 10 ----- custom-completions/git/README.md | 10 ----- custom-completions/glow/README.md | 9 ----- custom-completions/make/README.md | 10 ----- custom-completions/nano/README.md | 10 ----- custom-completions/nix/README.md | 11 ----- custom-completions/npm/README.md | 10 ----- custom-completions/pass/README.md | 13 ------ custom-completions/poetry/README.md | 9 ----- custom-completions/reflector/README.md | 9 ----- custom-completions/scoop/README.md | 47 ---------------------- custom-completions/tealdeer/README.md | 9 ----- custom-completions/winget/README.md | 10 ----- custom-completions/zellij/README.md | 10 ----- 18 files changed, 9 insertions(+), 207 deletions(-) create mode 100644 custom-completions/README.md delete mode 100644 custom-completions/ani-cli/README.md delete mode 100644 custom-completions/bitwarden-cli/README.md delete mode 100644 custom-completions/btm/README.md delete mode 100644 custom-completions/cargo/README.md delete mode 100644 custom-completions/git/README.md delete mode 100644 custom-completions/glow/README.md delete mode 100644 custom-completions/make/README.md delete mode 100644 custom-completions/nano/README.md delete mode 100644 custom-completions/nix/README.md delete mode 100644 custom-completions/npm/README.md delete mode 100644 custom-completions/pass/README.md delete mode 100644 custom-completions/poetry/README.md delete mode 100644 custom-completions/reflector/README.md delete mode 100644 custom-completions/scoop/README.md delete mode 100644 custom-completions/tealdeer/README.md delete mode 100644 custom-completions/winget/README.md delete mode 100644 custom-completions/zellij/README.md diff --git a/custom-completions/README.md b/custom-completions/README.md new file mode 100644 index 0000000..c608b27 --- /dev/null +++ b/custom-completions/README.md @@ -0,0 +1,9 @@ +# Custom completions + +This current directory provides custom completions. They can be used by importing their exported commands via: + +```nushell +use path/to//-completions.nu * +``` + +With `path/to/` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/ani-cli/README.md b/custom-completions/ani-cli/README.md deleted file mode 100644 index 69403a7..0000000 --- a/custom-completions/ani-cli/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# ani-cli Custom Completions - -This script provides custom completions for ani-cli. It can be used by importing its exported commands via: - -``` -use path/to/ani-cli/ani-cli-completions.nu -``` - -With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/bitwarden-cli/README.md b/custom-completions/bitwarden-cli/README.md deleted file mode 100644 index 84ce2ee..0000000 --- a/custom-completions/bitwarden-cli/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# Bitwarden CLI Custom Completions - -This script provides custom completions for the Bitwarden CLI client -`bw`. -It can be used by importing its exported commands via: - -``` -use path/to/bitwarden-cli/bitwarden-cli-completions.nu -``` - -With 'path/to' being either the relative path of the file to your -current directory or its absolute path. diff --git a/custom-completions/btm/README.md b/custom-completions/btm/README.md deleted file mode 100644 index 7de3b32..0000000 --- a/custom-completions/btm/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Bottom Custom Completions - -This script provides custom completions for Bottom. It can be used by importing its exported commands via: - -``` -use path/to/btm/btm-completions.nu -``` - -With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/cargo/README.md b/custom-completions/cargo/README.md deleted file mode 100644 index 50d60cc..0000000 --- a/custom-completions/cargo/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Cargo Custom Completions - -This script provides custom completions for cargo. -It can be used by importing its exported commands via: - -``` -use path/to/cargo/cargo-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/git/README.md b/custom-completions/git/README.md deleted file mode 100644 index 4ed6f8e..0000000 --- a/custom-completions/git/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Git Custom Completions - -This script provides custom completions for git. -It can be used by importing its exported commands via: - -``` -use path/to/git/git-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/glow/README.md b/custom-completions/glow/README.md deleted file mode 100644 index 798984c..0000000 --- a/custom-completions/glow/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Glow Custom Completions - -This script provides custom completions for Glow. It can be used by importing its exported commands via: - -``` -use path/to/glow/glow-completions.nu -``` - -With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/make/README.md b/custom-completions/make/README.md deleted file mode 100644 index 4e08118..0000000 --- a/custom-completions/make/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Make Custom Completions - -This script provides custom completions for make. -It can be used by importing its exported commands via: - -``` -use path/to/make/make-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/nano/README.md b/custom-completions/nano/README.md deleted file mode 100644 index 3a23e31..0000000 --- a/custom-completions/nano/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# `nano` custom completions - -This script provides custom completions for `nano`. -It can be used by importing its exported commands via: - -``` -use path/to/nano/nano-completions.nu * -``` - -With `path/to/` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/nix/README.md b/custom-completions/nix/README.md deleted file mode 100644 index 2a9c9ad..0000000 --- a/custom-completions/nix/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Nix Custom Completions - -This script provides custom completions for the [Nix package manager](https://nixos.org/manual/nix/stable/). -It encodes the full set of available subcommands and options. -It can be used by importing its exported commands via: - -``` -use path/to/nix-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/npm/README.md b/custom-completions/npm/README.md deleted file mode 100644 index d6c0041..0000000 --- a/custom-completions/npm/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# NPM Custom Completions - -This script provides custom completions for npm. -It can be used by importing its exported commands via: - -``` -use path/to/npm/npm-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/pass/README.md b/custom-completions/pass/README.md deleted file mode 100644 index aa0c408..0000000 --- a/custom-completions/pass/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Pass Custom Completions - -This script provides custom completions for most pass commands. It can be -imported with the following command: - -```nu -source path/to/pass/pass-completions.nu -``` - -Where `path/to` is the relative of absolute pass to the pass completions file. - -More information about the pass password manager can be found at -https://www.passwordstore.org/. diff --git a/custom-completions/poetry/README.md b/custom-completions/poetry/README.md deleted file mode 100644 index 03e42b2..0000000 --- a/custom-completions/poetry/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Poetry Custom Completions - -This script provides custom completions for [Poetry](https://github.com/python-poetry/poetry). I created this by using the `poetry list` command and then using the `nu_scripts/custom-completions/auto-generate/completions/pyenv.nu` file as a template to format the poetry commands. - -It can be used by importing its exported commands by adding the line below to the config.nu file - -```nu -source path/to/custom-completions/poetry/poetry-completions.nu -``` diff --git a/custom-completions/reflector/README.md b/custom-completions/reflector/README.md deleted file mode 100644 index 4117061..0000000 --- a/custom-completions/reflector/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Reflector Custom Completions - -This script provides custom completions for reflector. It can be used by importing its exported commands via: - -``` -use path/to/reflector-completions.nu * -``` - -With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/scoop/README.md b/custom-completions/scoop/README.md deleted file mode 100644 index 4cc160c..0000000 --- a/custom-completions/scoop/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# Scoop Custom Completions - -This script provides custom completions for [scoop](https://github.com/ScoopInstaller/Scoop). -It can be used by importing its exported commands via: - -``` -use path/to/scoop/scoop-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. - - -## Command Status - -- `x` means completed -- `-` means not completed - -| ? | Command | Summary | -|---|------------|------------------------------------------------------------------------------------------------| -| - | alias | Manage scoop aliases | -| x | bucket | Manage Scoop buckets | -| x | cache | Show or clear the download cache | -| x | cat | Show content of specified manifest. If available, `bat` will be used to pretty-print the JSON. | -| x | checkup | Check for potential problems | -| x | cleanup | Cleanup apps by removing old versions | -| x | config | Get or set configuration values | -| x | create | Create a custom app manifest | -| x | depends | List dependencies for an app, in the order they'll be installed | -| x | download | Download apps in the cache folder and verify hashes | -| x | export | Exports installed apps, buckets (and optionally configs) in JSON format | -| - | help | Show help for a command | -| x | hold | Hold an app to disable updates | -| x | home | Opens the app homepage | -| x | import | Imports apps, buckets and configs from a Scoopfile in JSON format | -| x | info | Display information about an app | -| x | install | Install apps | -| x | list | List installed apps | -| x | prefix | Returns the path to the specified app | -| x | reset | Reset an app to resolve conflicts | -| x | search | Search available apps | -| - | shim | Manipulate Scoop shims | -| x | status | Show status and check for new app versions | -| x | unhold | Unhold an app to enable updates | -| x | uninstall | Uninstall an app | -| x | update | Update apps, or Scoop itself | -| x | virustotal | Look for app's hash or url on virustotal.com | -| x | which | Locate a shim/executable (similar to 'which' on Linux) | \ No newline at end of file diff --git a/custom-completions/tealdeer/README.md b/custom-completions/tealdeer/README.md deleted file mode 100644 index 80860e2..0000000 --- a/custom-completions/tealdeer/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Tealdeer Custom Completions - -This script provides custom completions for tealdeer. It can be used by importing its exported commands via: - -``` -use path/to/tldr/tldr-completions.nu -``` - -With 'path/to' being either the relative path of the file to your current directory or its absolute path. diff --git a/custom-completions/winget/README.md b/custom-completions/winget/README.md deleted file mode 100644 index 3706f38..0000000 --- a/custom-completions/winget/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Winget Custom Completions - -This script provides custom completions for winget. -It can be used by importing its exported commands via: - -``` -use path/to/winget/winget-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path. diff --git a/custom-completions/zellij/README.md b/custom-completions/zellij/README.md deleted file mode 100644 index 25f63dd..0000000 --- a/custom-completions/zellij/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Zellij Custom Completions - -This script provides custom completions for [zellij](https://github.com/zellij-org/zellij). -It can be used by importing its exported commands via: - -``` -use path/to/zellij/zellij-completions.nu * -``` - -With `path/to` being either the relative path of the file to your current working directory or its absolute path.