A cross-platform command manager for terminal workflows.
Project description
CmdBox
A fast, structured, and searchable command runner for the terminal.
CmdBox replaces fragile shell history and scattered notes with a clean, organized system for storing, searching, and executing commands. Designed for anyone who works in the terminal, from occasional users to seasoned developers.
Why CmdBox?
Most terminal users have commands they run regularly. Some are short. Many are long and complex, packed with flags and options that are easy to forget. Recalling them means digging through shell history, hunting through notes, or searching online every time.
CmdBox gives every command a short, memorable alias. Run it instantly. No retyping, no searching, no forgetting.
Features
- Named commands with short, memorable aliases
- Parameterized templates with saved and runtime variables
- Stored execution context per command (working directory, shell, environment variables, and timeout) with runtime overrides
- Command execution history with the ability to rerun past executions
- Tag-based organization and filtering
- Field-based search across commands, variables, and tags
- Multi-line template execution via script
- Rich terminal UI with configurable display fields
Quick Start
Save and run a command
# Save a command under an alias
cb cmd add git-graph "git log --oneline --graph --decorate --all"
# Run it by alias, no subcommand needed
cb git-graph
# List all saved commands
cb cmd list
# Search saved commands
cb cmd search git
Use variables for flexible commands
# Save a command with variable placeholders
cb cmd add ssh-connect "ssh <user>@<host> -p <port>"
# Save variable values so they fill in automatically
cb var add user admin
cb var add host 10.0.0.5
cb var add port 22
# Run the command, variables are resolved before executing
cb ssh-connect
# What gets executed:
ssh admin@10.0.0.5 -p 22
# Supply a different value at runtime to override a saved one
cb ssh-connect --host 192.168.1.1
Installation
pip install cmdbox-cli
Or install from source:
git clone https://github.com/PhantomLambSoft/CmdBox.git
cd cmdbox
pip install .
After installation, verify it worked:
cb --version
Documentation
Full documentation is available at phantomlambsoft.github.io/CmdBox.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cmdbox_cli-1.0.0.tar.gz.
File metadata
- Download URL: cmdbox_cli-1.0.0.tar.gz
- Upload date:
- Size: 86.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd33db5a50dd6d9365a6f539e7301ee69bf57f34360526b0199712b5370529b3
|
|
| MD5 |
60ef8d73fafffdfebaad0b928779b596
|
|
| BLAKE2b-256 |
63a357dd3dca84be7ddf354378fd1cf3bc237230eacf0b7c125c8bd2faa85699
|
Provenance
The following attestation bundles were made for cmdbox_cli-1.0.0.tar.gz:
Publisher:
release.yml on PhantomLambSoft/CmdBox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cmdbox_cli-1.0.0.tar.gz -
Subject digest:
dd33db5a50dd6d9365a6f539e7301ee69bf57f34360526b0199712b5370529b3 - Sigstore transparency entry: 1790997186
- Sigstore integration time:
-
Permalink:
PhantomLambSoft/CmdBox@0c7320e2aefa18b20775ef35e28bb25912cac697 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/PhantomLambSoft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0c7320e2aefa18b20775ef35e28bb25912cac697 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cmdbox_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: cmdbox_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 120.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b684952b86fbef99843a869b5391deffc967fca8172438357be07cdaced8a6b1
|
|
| MD5 |
fe04a4841d4619bf9bf052231cda3c3a
|
|
| BLAKE2b-256 |
5ef0dce34467a45d79f7b0d2e7c437c9114377007d75b9ea95e362acd008726b
|
Provenance
The following attestation bundles were made for cmdbox_cli-1.0.0-py3-none-any.whl:
Publisher:
release.yml on PhantomLambSoft/CmdBox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cmdbox_cli-1.0.0-py3-none-any.whl -
Subject digest:
b684952b86fbef99843a869b5391deffc967fca8172438357be07cdaced8a6b1 - Sigstore transparency entry: 1790997317
- Sigstore integration time:
-
Permalink:
PhantomLambSoft/CmdBox@0c7320e2aefa18b20775ef35e28bb25912cac697 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/PhantomLambSoft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0c7320e2aefa18b20775ef35e28bb25912cac697 -
Trigger Event:
push
-
Statement type: