command-launcher is a lightweight, shell-agnostic utility for saving, managing, and launching your frequently used terminal commands with custom IDs.
β οΈ Project Status: DiscontinuedThis project is no longer maintained. It was originally created as a learning exercise in C++. Its functionality can easily be replicated using shell scripts, but feel free to explore, fork, or use the code as a reference!
- Save any shell command under a custom ID
- Quickly run saved commands by their ID
- Supports running commands with
sudo(--superuserflag) - Remove saved commands easily
- Works with any shell (Bash, Zsh, Fish, etc.)
command-launcher # Runs the default command
command-launcher -sc "echo Hello" -id hi # Save 'echo Hello' with ID 'hi'
command-launcher -c hi # Run the command saved as 'hi'
command-launcher -r hi # Remove the command with ID 'hi'
command-launcher -c secure -su # Run ID 'secure' with sudoI built command-launcher to learn C++ and experiment with managing CLI utilities. In hindsight, shell scripts can do the same job (and more), but this was a fun and valuable project!
This project is open-source. See the LICENSE file for details.
Thanks for checking it out!