pacs
Project Aware Command Storage - A CLI for managing and running saved shell commands.
Install
Usage
Example Output
# pacs ls
── Global ──
hello-world
echo "Hello World"
── myproj ──
get-pods:
kubectl --context dev get pods -o wide
Contexts and Placeholders
Use double curly braces to mark placeholders:
Define project-specific contexts and values (for the active project):
Listing, running, and copying with a specific context (active project):
Notes:
- If no active context is set (or values are missing), pacs shows the raw unexpanded command.
- If active context is set and context values are defined, pacs expands the command before listing, running or copying it.
Shell Completions
Zsh (~/.zshrc):
Bash (~/.bashrc):
Fish (~/.config/fish/config.fish):
| )