@snack-game/cli
v0.1.18
Published
Snack.Game command-line interface
Readme
@snack-game/cli
Snack.Game command-line interface.
This package installs the snack binary used by Snack.Game projects:
npm install -D @snack-game/cli
npm exec -- snack --helpFor one-off execution without adding a dependency first:
npx @snack-game/cli --helpTypical project-local workflow:
npx @snack-game/cli new my-game
cd my-game
npm install
npm run dev
npm run push
npm run versions
npm run preview
npm run publishsnack push creates an immutable pushed version without making it live. Name the next pushed
version with game.versionName in snack.json; snack push writes the finalized UUID to
game.versionId so snack publish can use it by default. Pushed game version numbers are internal
compatibility bookkeeping. The root version field in snack.json is config metadata, and legacy
incremental numeric values are still accepted. Use snack versions to find a UUID version id for an
explicit snack preview <version-id> or snack publish <version-id>.
The package contains a small JavaScript launcher. Native binaries are distributed through platform-specific optional packages under the @snack-game npm scope.
Copyright Snack.Game. All rights reserved.
