This is a commandline version for commands.wiki. It can be used to run commands without having to access the website.
curl https://raw.githubusercontent.com/BL19/commands-wiki-cli/main/clone_and_install.sh -sSf | sh
cwc
- List all commands in the wiki (list)
- Display the markdown for commands
- Run commands with placeholders (<>,{})
- Search for commands
- Update from the git repository for commands.wiki
- Validation of variables from markdown commands using a custom syntax in the markdown
- Update index automatically every 24 hours
- Automatic updates to
cwc
when the branch is updates - Using AI to generate commands
To begin, install cwc
, then run cwc
.
To update the command index run cwc update
, this will pull the git repository and index all commands again.
To reset the cli to default settings run cwc clean
.
Either run cwc
and search using /<searchterm>
, or run cwc <searchterm>
.
Run the install.sh
script as root, this will build and install cwc
in /usr/local/bin
.
git clone https://github.com/BL19/commands-wiki-cli
cd commands-wiki-cli
sudo bash build_and_install.sh
cd commands-wiki-cli
git pull
sudo bash build_and_install.sh