qix-cli
v0.2.3
Published
CLI for managing bash scripts
Readme
qix
CLI for managing bash scripts. Add, link, list, and run scripts from a single place (~/.qix/scripts), author new scripts with an agentic CLI (qix make), optional metadata, and shell completion.
░░░
░ ▒▒▒▓▓▓▒░
░░░ ░▒▒▒░░▒▒▒▒▒▒░▓▓▒▒▒
░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▓▓▒▒░
░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▒░░░░░░░░░░░░
░▒▒▒▒▒▒▒░░░░░░░░░▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒░
░░▒▒▒▒▒▒░░░░▒██▓░░░░░▒▒▒▒▒▒░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
░▒▒▒▒▒▒▒▒░░▒███▓▓█▓░░░▒▒▒▒▓▒▒▒░░░░░▒▒▒░▒▒▒▒░░░▒▒▒▒▒▒▒▒░
░▒▒▒▒▒▒▒▒░░░▒▓█████▓░░░░░░░ ░░░░░░░░░░▒░▒░░░░░░▒░▒▒▒▒▒▒░
▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░▒░░░░░░░░░▒░▒▒▒▒▒▒▒░
░░ ░▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒░
▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░▒▒▒▒▒▒▒▒▓▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒░░░░░░░░░░░░░░░░░░░░░▒░░
░▒▒▒▒▒▒▒▓▓▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░▒░░
░░▒▒▒▒▓▓▒▓▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒░░▒░░░░░░░░░░░░░░░░░░░░░░░▒▒▒░
░░▒▒▓▓▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░░░░▒░░░░░
░░▒▒▒▒▒▒░░░░░░░░░░░░░▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░ ░░ ░░░░░▒▒░░░░
░░░▒░░░▒░░░░░░░▒░░░░▒░░░░░░░░░░░░░░░░░░░░░░░░ ░ ░ ░░░░░░░▒░▒▒
░░░▒▒▒▒▒░▒░▒░▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░ ░ ░ ░ ░░░░░░░▒▒▒
░░▒▒▒▒▒▒▒▒▒▒░▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░ ░░ ░░ ░ ░░░░░▒▒▒▒
░▒▒▒▒▒▒▒▒▒▒▒▒░▒▒▒░░░░░░░░░░░░░░░░░░░░░ ░░ ░░ ░░ ░░░░▒▒▒▒▒
░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░ ░░░░░░▒▒▒▒▒▒
░▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░ ░░░░▒▒▒▒▒▒
░▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░░░░░░░▒▒▒▒▒▒
░▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒
░▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒
░▒▓▓▓▓▓▓▓▒▒▒▒░░░░░░░░░░░░░░░░▒░░░▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░▒
░▒▓▓▓▓▒▒░ ░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░
░▒▓▓█▒░▒▒▒▒░░░░░░░░▒▒▒▒▒▒▒▒▓▒▒▒▒▒▒▓▒▓▓▓▒▒▒▒▒▒░░▒▒░░░░░░░░░░░░
░▒▒▒▓▓▓███▓▓▓▒░░░░░░░▒▒▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░▒▒▒▒▒▒▒▒▒▒▒░▒▒░░░▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░▒▓▓▒▒▒░▒░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░Install
npm install -g qix-cliOr with pnpm:
pnpm add -g qix-cliUsage
Add a script (copy into
~/.qix/scripts):qix add ./deploy.sh qix add ./deploy.sh --move qix add ./deploy.sh --name prod-deploy --forceLink a script instead of copying:
qix link ./deploy.sh qix link ./deploy.sh --name prod-deploy --forceList scripts:
qix list qix list --plain qix list --jsonInfo for a script (name, description, usage, metadata):
qix info <name>Run a script (extra args are passed through):
qix run prod-deploy -- --env stagingMake a new script with an agentic CLI (default: Claude Code).
qix makeappends qix-specific instructions (bash style, qix YAML header, logging with a verbosity flag that only affects logs—not the script’s primary output) and opens the provider in the current directory. When you are satisfied with the file on disk, register it withqix add:qix make my-script qix make --provider claude-code my-script # After the agent writes the script: qix add ./my-script.sh --moveOverride the Claude Code binary if needed:
QIX_MAKE_CLAUDE_BIN=/path/to/claude. Additional providers can be added over time;--providerselects one (today onlyclaude-codeis built in).Manage cron entries for scripts:
qix cron add prod-deploy --schedule "*/15 * * * *" --comment heartbeat qix cron add prod-deploy --schedule "0 2 * * *" --args "--env prod" qix cron list qix cron list --name prod-deploy --json qix cron remove prod-deploy --comment heartbeat qix cron remove prod-deploy --allEach job is stored with a
# qix cron: …comment line directly above the crontab line;qix cron removedeletes both. Script names accept an optional.shsuffix (same asqix run).Bash completion:
source <(qix completion bash)
License
Apache-2.0. See LICENSE.
