Scaffolding entrypoint.
beskid new command
Platform spec feature
beskid new command
Spec standingStandard
-
beskid new command
Context
Decision
Command must be
beskid new.Consequences
See project-templates ADRs.
Verification anchors
CLI command table.
-
Interactive modes
Context
Scaffolding entrypoint.
Decision
Support interactive and non-interactive instantiation.
Consequences
See project-templates ADRs.
Verification anchors
CLI tests.
-
Update on instantiate
Context
Scaffolding entrypoint.
Decision
Run template update check when online.
Consequences
See project-templates ADRs.
Verification anchors
Mock registry test.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
What this feature specifies
The beskid new command family — list, install, uninstall, and instantiate templates from registry, path, or git with interactive and flag-driven parameters.
Implementation anchors
compiler/crates/beskid_cli/src/cli.rs— subcommand tree- Planned
compiler/crates/beskid_cli/src/commands/new.rs compiler/crates/beskid_pckg— registry download
Contract statement
The Beskid CLI must expose a top-level beskid new command family for template discovery, installation, and instantiation. This is the only normative user entrypoint for scaffolding; beskid pckg remains publish/upload only.
Command taxonomy
| Command | Obligation |
|---|---|
beskid new list | List installed and optionally online templates |
beskid new install <package|path|git> | Cache template for offline use |
beskid new uninstall <shortName|package> | Remove cached template |
beskid new <shortName> [options] | Instantiate installed template by short name |
beskid new --path ... | Instantiate without prior install |
beskid new --git ... | Instantiate from git source |
beskid new --package <id>[@version] | Instantiate from registry (install if needed) |
Global options documented in contracts and edge cases.
First-party templates
When the registry is reachable, the CLI must resolve beskid.templates.console, beskid.templates.lib, and beskid.templates.project from pckg—not from files shipped inside the CLI binary. Short names console, lib, and template map to those packages when unambiguous.
Decisions
No open decisions. Closed choices: D-TOOL-SCAFF-0001 (beskid new command), 0002 (interactive modes), 0003 (update check on instantiate)—see adr/ and the ADRs tab.