Scaffolding entrypoint.
Contracts and edge cases
Platform spec article
Contracts and edge cases
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).
Purpose and scope
Section titled “Purpose and scope”Normative CLI flags and behaviors.
Global flags (instantiate)
Section titled “Global flags (instantiate)”| Flag | Meaning |
|---|---|
-o, --output <path> | Output directory or file (item templates) |
-n, --name <string> | Primary name symbol (maps to default name symbol) |
--symbol <id>=<value> | Repeatable symbol binding |
--no-interactive | Fail if required symbols missing |
--force | Allow non-empty output directory |
--path <dir> | Template from local path |
--git <url> | Template from git |
--git-ref <ref> | Branch, tag, or commit |
--git-subpath <dir> | Subdirectory within repo |
--package <id>[@version] | Registry package (packageKind: template) |
--project <Project.proj> | Host project for item templates |
--allow-yanked | Continue after yanked warning |
--strict-post-actions | Fail on unknown post-action id |
--allow-project-manifest | Item template may write Project.proj |
beskid new list flags
Section titled “beskid new list flags”| Flag | Meaning |
|---|---|
--online | Include registry search results |
--kind <project|workspace|item> | Filter by tags.type |
Interactive
Section titled “Interactive”When stdin is a TTY:
- Prompt for each required symbol without a CLI value.
- Confirm overwrite when output exists (unless
--force). - Confirm proceed when template is yanked (unless
--allow-yanked).
Examples
Section titled “Examples”beskid new list --onlinebeskid new install beskid.templates.consolebeskid new console -n MyApp -o ./MyAppbeskid new lib --symbol name=MyLib --no-interactive -o ./MyLibbeskid new --git https://git.example.com/templates --git-ref main --git-subpath lib -o ./Libbeskid new contract --symbol contractName=Foo -o ./Src/Foo.bd --project ./App/Project.projEdge cases
Section titled “Edge cases”beskid new consolewithout install: auto-install latest from registry when online.- Ambiguous shortName: error listing matching package ids.
- CI: document
beskid new ... --no-interactivein guides.