Command Vault is a small CLI application whose main purpose is to allow the user to save commands in a list. The user can also delete a command, list all commands, search by a command, search by category, or even search by a description.
Below you can check all the commands available so far.
Command | Description |
---|---|
./cv -a | Adds a new command |
./cv -l | List all commands |
./cv -d=id | Delete a command. Id parameter represents the value shown on the ID column |
./cv -scom "value" | Search by command |
./cv -scat "value" | Search by category |
./cv -sdes "value" | Search by description |
./cv -sid "2" | Search by id |
./cv -cp=id | Copy the command according to the given id |
./cv -v | Shows the version |
Note: You can search without enclosing the values in double quotes, but the value can't represent a composite value.
- Add the ability to pagination.
- Add ability to sync commands file (database) with gdrive.
- So far the executable is only available for Unix systems, feel free to build for Windows.
- To ensure that the copy to clipboard feature works, follow the instructions:
- For Linux Users: Make sure to have xclip or xsel installed.
- 1.2
- go build -o cv cmdvault/cmd/main.go