JCommandChain / docs
Alias commands and run them together.
01
Overview
JCommandChain (JCC) is a small CLI that lets you alias commands and run multiple commands concurrently from a single name.
InfoCurrently tested on Windows.
02
Installation
Download Release Setup
Download the latest release Setup
Download latest releaseFile: JCommandChainSetup.exe
- Run the installer and follow the prompts
Run the binary
powershelljcc init
Download release
Download latest releaseFile: jcc.exe
- Add the exe to your PATH
Run the binary
powershelljcc init
Build from source
powershellgit clone https://github.com/JasnRathore/JCommandChain cd JCommandChain
powershellgo build -o jcc.exe
03
Initialize Config
Create a config file in the current directory:
powershelljcc --init
If the exe is not on PATH:
powershell./jcc.exe --init
04
Configuration
JCC reads jcc.config.json with aliases and grouped commands:
json{ "aliases": { "client": "LiveReloadWebServer 'path/client' --port 1200 -useSsl --useLiveReload", "tailwind": "npx tailwindcss -i ./client/input.css -o ./client/output.css --watch" }, "multiple": { "run": ["client", "tailwind"] } }
Rules
- Do not use the same name in aliases and multiple.
- Do not put raw commands inside multiple; use alias names.
05
Usage
powershell# Run a single alias jcc client # Run multiple aliases directly jcc client tailwind # Run a named group from config jcc run