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.
Root help
Section titled “Root help”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.cborSubcommands
Section titled “Subcommands”greentic-pack build
Section titled “greentic-pack build”Build a pack component and supporting artifacts
Usage: greentic-pack build [OPTIONS] --in <DIR>greentic-pack lint
Section titled “greentic-pack lint”Lint a pack manifest, flows, and templates
Usage: greentic-pack lint [OPTIONS] --in <DIR>greentic-pack components
Section titled “greentic-pack components”Sync pack.yaml components with files under components/
Usage: greentic-pack components [OPTIONS] --in <DIR>greentic-pack update
Section titled “greentic-pack update”Sync pack.yaml components and flows with files under the pack root
Usage: greentic-pack update [OPTIONS] --in <DIR>greentic-pack new
Section titled “greentic-pack new”Scaffold a new pack directory
Usage: greentic-pack new --dir <DIR> <PACK_ID>greentic-pack sign
Section titled “greentic-pack sign”Sign a pack manifest using an Ed25519 private key
Usage: greentic-pack sign [OPTIONS]greentic-pack verify
Section titled “greentic-pack verify”Verify a pack's manifest signature
Usage: greentic-pack verify [OPTIONS]greentic-pack gui
Section titled “greentic-pack gui”GUI-related tooling
Usage: greentic-pack gui [OPTIONS] <COMMAND>
Commands: loveable-convert Convert a Loveable-generated repo or build output into a GUI .gtpackgreentic-pack doctor
Section titled “greentic-pack doctor”Diagnose a pack archive (.gtpack) or source directory (runs validation)
Usage: greentic-pack doctor [OPTIONS]greentic-pack inspect
Section titled “greentic-pack inspect”Diagnose a pack archive (.gtpack) or source directory (runs validation)
Usage: greentic-pack doctor [OPTIONS]greentic-pack inspect-lock
Section titled “greentic-pack inspect-lock”Inspect pack.lock.cbor (stable JSON to stdout)
Usage: greentic-pack inspect-lock [OPTIONS]greentic-pack qa
Section titled “greentic-pack qa”Run component QA and store answers
Usage: greentic-pack qa [OPTIONS]greentic-pack config
Section titled “greentic-pack config”Inspect resolved configuration (provenance and warnings)
Usage: greentic-pack config [OPTIONS]greentic-pack plan
Section titled “greentic-pack plan”Generate a DeploymentPlan from a pack archive or source directory
Usage: greentic-pack plan [OPTIONS]greentic-pack providers
Section titled “greentic-pack providers”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 contentsgreentic-pack add-extension
Section titled “greentic-pack add-extension”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 messagesgreentic-pack wizard
Section titled “greentic-pack wizard”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.greentic-pack resolve
Section titled “greentic-pack resolve”Resolve component references and write pack.lock.cbor
Usage: greentic-pack resolve [OPTIONS]