Back to all docs
qubiz commands

CLI Tooling

Use command-line helpers for scaffolding, manifest validation, SDK checks, local preview, and release packaging.

clitoolingmanifestrelease

Recommended commands

The JavaScript package exposes a qubiz-game-sdk binary with create and validate commands, while QubizSDK.cli.command produces copyable command strings inside editor tooling. The platform scripts also include sdk:publish for npm/Python package checks and publishing when credentials are present.

  • create - scaffold a small HTML5 browser-game project.
  • validate - check manifest fields, requested scopes, event names, and asset references.
  • preview - serve a local build with the SDK browser bundle.
  • pack - create an upload-ready ZIP and asset manifest.
  • publish - run package checks and publish SDK packages when credentials are configured.
Scaffold and validate
npx @qubiz/game-sdk create my-game --template arcade
npx @qubiz/game-sdk validate manifest.json
npx @qubiz/game-sdk preview ./dist
npx @qubiz/game-sdk pack ./dist --assets ./assets
Generate commands from the SDK
const command = QubizSDK.cli.command("validate", ["manifest.json"]);
console.log(command);