Skip to content

About

A manifest-driven developer CLI for project discovery, task orchestration, workspace management, and plugin-powered automation.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

gk-dev-cli

Developer automation platform for modern web projects.

npm version license node

Install

npm install -g gk-dev-cli

Quick Start

gkd init

gkd workspace add D:/projects

gkd discover

gkd run myproject:dev

Why?

  • Zero-Config Discovery: Automatically discover workspace projects via gk.project.json manifests.
  • 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.

Quick Start

1. Initialize Configuration

Set up your global GK profile database:

gkd init

2. Configure Workspaces

Register directory paths where you store your repositories:

gkd workspace add D:/websites

3. Add Project Manifest

Create 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
    }
  }
}

4. Scan & Run

Build the local directory cache and run:

gkd discover
gkd run my-app:dev

If you are inside the project folder, simply run:

gkd run dev

Dynamic Plugins

Warning

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

About

A manifest-driven developer CLI for project discovery, task orchestration, workspace management, and plugin-powered automation.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages