Skip to content

BL19/commands-wiki-cli

Repository files navigation

Commands.wiki CLI

This is a commandline version for commands.wiki. It can be used to run commands without having to access the website.

Install

curl https://raw.githubusercontent.com/BL19/commands-wiki-cli/main/clone_and_install.sh -sSf | sh
cwc

Demo

Showcase

Ai Features

Showcase

Features

  • 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

Usage

To begin, install cwc, then run cwc.

Update the commands

To update the command index run cwc update, this will pull the git repository and index all commands again.

Reset the installation

To reset the cli to default settings run cwc clean.

Search for a command

Either run cwc and search using /<searchterm>, or run cwc <searchterm>.

Installation From source

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

Updating

cd commands-wiki-cli
git pull
sudo bash build_and_install.sh