sufumi/JCC/docs
JCCGo

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

powershell
jcc init

Download release

  • Add the exe to your PATH

Run the binary

powershell
jcc init

Build from source

powershell
git clone https://github.com/JasnRathore/JCommandChain cd JCommandChain
powershell
go build -o jcc.exe
03

Initialize Config

Create a config file in the current directory:

powershell
jcc --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
Found an error? Docs are open source.Edit on GitHub