Skip to content

Using the CLI — User Guide

Quick Reference

  • Who: Developer (any skill level)
  • Where: Terminal / Shell
  • Time: ~2 minutes to complete
  • Prerequisites: Bash 4+, target project path

This guide is for: Developer Dana

Job To Be Done: Configure documentation tooling for team“When my team adopts DocKit Master, I want to generate prompts quickly, so that I can paste them into any IDE.”

graph TB

    S(["Start"])
    A["Choose IDE + config"]
    B["CLI generates prompt"]
    C["Paste into IDE"]
    E(["Documentation generated"])

    S --> A --> B --> C --> E
  • Bash 4+ installed (macOS: brew install bash)
  • Know the absolute path to your target project
  • AI IDE installed (Antigravity, Cursor, Claude, etc.)
Terminal window
bash scripts/dockit-master.sh

The CLI displays an interactive menu with 6 configuration steps.

Select your target AI coding IDE (1–7). Default is Antigravity.

OptionDescription
1 — knowledgePersonas, JTBD, Process Flows
2 — techArchitecture, Database, Deployment
3 — sopStep-by-step user guides
4 — apiAPI endpoint reference
5 — allComplete documentation suite (recommended)

Provide the absolute path to the project you want to document.

Select output language, SEO optimization, and LLM optimization preferences.

The CLI generates a ready-to-paste prompt and copies it to clipboard (macOS). Paste it into your AI IDE to start generating documentation.

  • Prompt copied to clipboard
  • Ready to paste into target IDE
  • Documentation generation begins immediately after pasting
Troubleshooting: "Directory not found" error

Cause: Invalid project path or path contains special characters.

Solution:

  1. Use absolute paths (starting with /)
  2. Quote paths with spaces: "/path/with spaces/project"
  3. Verify the directory exists: ls /your/path
Troubleshooting: "pbcopy not found" (Linux)

Cause: pbcopy is macOS only.

Solution: Install xclip: sudo apt install xclip and alias: alias pbcopy='xclip -selection clipboard'