2 releases
0.1.1 | Nov 3, 2024 |
---|---|
0.1.0 | Nov 3, 2024 |
#1018 in Command line utilities
241 downloads per month
18KB
383 lines
Komando
A command line utility to help you organize and easily access your commands.
Install from Crates.io
Run:
cargo install komando
Then source your .bashrc
:
source ~/.bashrc
Verify the installation works by running:
komando --help
Build from source
Run:
cargo build --release
sudo cp target/release/komando_exec /usr/local/bin/
And don't forget to source your .bashrc
:
source ~/.bashrc
Then verify the installation by running:
komando --help
Usage
Saving a command
Run:
komando --save
This will save the previous command entered in the terminal, along with the directory at which it was run.
Searching and executing a command
Run:
komando --query <YOUR_QUERY>
This will search your saved commands for any command that contains the given query and list them. You will then be presented with an interactive terminal where you can choose the command using the UP
and DOWN
arrows.
After choosing the command with ENTER
, you can still edit it. At this point, hitting ENTER
will execute the selected command.
License
This project is licensed under the MIT License.
Dependencies
~5–18MB
~211K SLoC