Aller au contenu

greentic-pack CLI reference

{/* AUTO-GENERATED by scripts/sync-cli-help.mjs — do not edit by hand. /} {/ Curated narrative for this CLI lives under src/content/docs/cli/. */}

Binary version: greentic-pack 0.5.5

This page mirrors the CLI’s --help output so it stays accurate against the installed binary. If you’re looking for narrative and examples, see the curated pages linked in the sidebar.

Greentic pack CLI
Usage: greentic-pack [OPTIONS] <COMMAND>
Commands:
build Build a pack component and supporting artifacts
lint Lint a pack manifest, flows, and templates
components Sync pack.yaml components with files under components/
update Sync pack.yaml components and flows with files under the pack root
new Scaffold a new pack directory
sign Sign a pack manifest using an Ed25519 private key
verify Verify a pack's manifest signature
gui GUI-related tooling
doctor Diagnose a pack archive (.gtpack) or source directory (runs validation)
inspect Deprecated alias for `doctor`
inspect-lock Inspect pack.lock.cbor (stable JSON to stdout)
qa Run component QA and store answers
config Inspect resolved configuration (provenance and warnings)
plan Generate a DeploymentPlan from a pack archive or source directory
providers Legacy provider-extension helpers (schema-core path)
add-extension Add data to pack extensions (provider extension path is legacy/schema-core)
wizard Pack wizard helpers
resolve Resolve component references and write pack.lock.cbor
Build a pack component and supporting artifacts
Usage: greentic-pack build [OPTIONS] --in <DIR>
Lint a pack manifest, flows, and templates
Usage: greentic-pack lint [OPTIONS] --in <DIR>
Sync pack.yaml components with files under components/
Usage: greentic-pack components [OPTIONS] --in <DIR>
Sync pack.yaml components and flows with files under the pack root
Usage: greentic-pack update [OPTIONS] --in <DIR>
Scaffold a new pack directory
Usage: greentic-pack new --dir <DIR> <PACK_ID>
Sign a pack manifest using an Ed25519 private key
Usage: greentic-pack sign [OPTIONS]
Verify a pack's manifest signature
Usage: greentic-pack verify [OPTIONS]
GUI-related tooling
Usage: greentic-pack gui [OPTIONS] <COMMAND>
Commands:
loveable-convert Convert a Loveable-generated repo or build output into a GUI .gtpack
Diagnose a pack archive (.gtpack) or source directory (runs validation)
Usage: greentic-pack doctor [OPTIONS]
Diagnose a pack archive (.gtpack) or source directory (runs validation)
Usage: greentic-pack doctor [OPTIONS]
Inspect pack.lock.cbor (stable JSON to stdout)
Usage: greentic-pack inspect-lock [OPTIONS]
Run component QA and store answers
Usage: greentic-pack qa [OPTIONS]
Inspect resolved configuration (provenance and warnings)
Usage: greentic-pack config [OPTIONS]
Generate a DeploymentPlan from a pack archive or source directory
Usage: greentic-pack plan [OPTIONS]
Legacy provider-extension helpers (schema-core path)
Usage: greentic-pack providers [OPTIONS] <COMMAND>
Commands:
list List providers declared in the provider extension
info Show details for a specific provider id
validate Validate provider extension contents
Add data to pack extensions (provider extension path is legacy/schema-core)
Usage: greentic-pack add-extension [OPTIONS] <COMMAND>
Commands:
provider Add or update the provider extension entry
capability Add or update a capability offer entry
deployer Add or update a generic deployer extension entry
dependency Add or update an external extension dependency ref in pack.extensions.json
Options:
--locale <LOCALE> Locale used for CLI messages
Interactive pack wizard
Usage:
greentic-pack wizard
greentic-pack wizard run [OPTIONS]
greentic-pack wizard validate --answers <FILE> [OPTIONS]
greentic-pack wizard apply --answers <FILE> [OPTIONS]
Common options:
--locale <LOCALE> set CLI/wizard language (for example: en, en-GB, nl)
Run options:
--answers <FILE> load AnswerDocument and run non-interactive apply flow
--emit-answers <FILE> write AnswerDocument after run
--schema print the current AnswerDocument schema and exit
--schema-version <VER> target schema version for emit/migration
--migrate allow auto-migration when schema metadata is missing/older
--dry-run record choices and emit answers without side effects
`wizard` (without subcommand) runs the interactive main menu.
Resolve component references and write pack.lock.cbor
Usage: greentic-pack resolve [OPTIONS]