cmdy is a powerful and flexible command execution manager that allows you to store, manage, and execute predefined command sets across different directories. It simplifies repetitive tasks and enhances automation for developers and power users.
- Store and execute predefined command sets
- Manage multiple directories for command execution
- Interactive selection of command sets and directories
- Progress bars and status indicators for better UX
- Execution logging for tracking command runs
To install cmdy, clone the repository and build it using Cargo:
cargo build --releaseMove the binary to a directory in your PATH:
mv target/release/cmdy /usr/local/bin/Run cmdy followed by a command:
cmdy <command>| Command | Description |
|---|---|
cmdy run |
Run a stored command set |
cmdy list |
List all stored command sets |
cmdy logs |
View execution logs |
cmdy delete <name> |
Delete a command set |
cmdy help |
Show help menu |
cmdy runThis will prompt you to select a directory and a stored command set to execute.
cmdy listDisplays all stored command sets along with their associated commands.
cmdy logsShows a history of executed command sets with timestamps.
cmdy delete <name>Removes a specified command set from storage.
cmdy helpDisplays available commands and their descriptions.
cmdy stores its configurations in config.json.
- Directories: Stores directories used for executing commands.
- Command Sets: Stores predefined command sets.
Example config.json:
{
"directories": ["/path/to/project"],
"command_sets": [
{
"name": "Build Project",
"commands": ["cargo build", "cargo test"]
}
]
}Execution logs are stored in cmdy.log with timestamps for tracking past executions.
MIT License
Feel free to submit issues and pull requests to improve cmdy!