Skip to content

kindgi init

Scaffold a new Kindgi pack repo, or add Kindgi to an existing Node.js project (auto-detected when a package.json is present and no pack-name is given).

Terminal window
kindgi init [<pack-name>] [--template=minimal|sample|python] [--path=<dir>] [--force] [--link-local] [--new-repo]

Flags:

  • --force: Write into a non-empty directory; in an existing app, overwrite the Kindgi config and files already there instead of refusing or skipping them.
  • --link-local: Node packs: link @kindgi/* from the Kindgi checkout the CLI runs from, even inside its workspace. No effect for an installed CLI.
  • --new-repo: In an existing app, scaffold a separate pack instead of adding Kindgi to the app. Requires &lt;pack-name&gt;.
  • --pack-id <value>: Adding Kindgi to an existing app: the pack id, instead of the one derived from the app's name. Needed when that name makes no valid id.
  • --path <value>: Where to scaffold. Default: &lt;pack-name&gt; (its last dot segment) under the current directory; in an existing app, the current directory.
  • --template <value>: The starter: minimal (default; empty primitive folders), sample (tools, a guardrail, an agent and a flow) or python (a Python pack).

Every command also takes the global flags.