Developer automation platform for modern web projects.
npm install -g gk-dev-cligkd init
gkd workspace add D:/projects
gkd discover
gkd run myproject:dev- Zero-Config Discovery: Automatically discover workspace projects via
gk.project.jsonmanifests. - Dependency-Aware Task Graph: Build execution trees, resolve cycle checks, and launch tasks concurrently.
- Workspace Management: Easily register and search directory trees.
- Plugin Architecture: Extend capabilities via npm-distributed plugin extensions.
- Profile & Alias Database: Set environment contexts and custom CLI command shortcuts.
Set up your global GK profile database:
gkd initRegister directory paths where you store your repositories:
gkd workspace add D:/websitesCreate a gk.project.json file in your project directory root:
{
"schemaVersion": "1.0",
"project": {
"name": "my-app",
"version": "1.0.0"
},
"tasks": {
"frontend": {
"type": "shell",
"cwd": "apps/client",
"command": "npm run dev",
"hooks": {
"before": ["npm install"]
}
},
"backend": {
"type": "shell",
"cwd": "apps/server",
"command": "npm run dev"
},
"dev": {
"dependsOn": ["frontend", "backend"],
"parallel": true
}
}
}Build the local directory cache and run:
gkd discover
gkd run my-app:devIf you are inside the project folder, simply run:
gkd run devWarning
The Plugin API is currently experimental in v0.9.x. Features and hook specifications are subject to breaking changes prior to the stable v1.0.0 release.
Extend GK CLI with dynamic plugins:
# Install from npm
gkd plugin install cloudflare
# Enable inside your active profile
gkd plugin enable cloudflare
# Verify commands list
gkd cf help