Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Contracts and edge cases

Platform spec article

Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Normative CLI flags and behaviors.

FlagMeaning
-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-interactiveFail if required symbols missing
--forceAllow 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-yankedContinue after yanked warning
--strict-post-actionsFail on unknown post-action id
--allow-project-manifestItem template may write Project.proj
FlagMeaning
--onlineInclude registry search results
--kind <project|workspace|item>Filter by tags.type

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).
Terminal window
beskid new list --online
beskid new install beskid.templates.console
beskid new console -n MyApp -o ./MyApp
beskid new lib --symbol name=MyLib --no-interactive -o ./MyLib
beskid new --git https://git.example.com/templates --git-ref main --git-subpath lib -o ./Lib
beskid new contract --symbol contractName=Foo -o ./Src/Foo.bd --project ./App/Project.proj
  • beskid new console without install: auto-install latest from registry when online.
  • Ambiguous shortName: error listing matching package ids.
  • CI: document beskid new ... --no-interactive in guides.