@lavedon/cli
v0.1.2
Published
JavaScript wrapper package for the Lavedon CLI.
Readme
@lavedon/cli
JavaScript wrapper package for the Lavedon CLI.
It installs the correct native lavedon binary for your platform and exposes it as a normal command-line tool.
Install
Install globally with your package manager of choice:
npm install -g @lavedon/cli
pnpm add -g @lavedon/cli
yarn global add @lavedon/cli
bun add -g @lavedon/cliThen run:
lavedon --helpRun Without Installing
You can also run the CLI directly without a global install:
npx @lavedon/cli --help
pnpx @lavedon/cli --help
yarn dlx @lavedon/cli --help
bunx @lavedon/cli --helpUsage
Create a new game:
lavedon init my-game
cd my-gameBuild the game:
lavedon buildStart the local development server:
lavedon dev --port 8080Deploy the game:
lavedon deployCommands
lavedon init <name>
Creates a new project directory with starter files for a Lavedon game.
lavedon build
Builds the project into game.don.
lavedon dev [--port <port>]
Starts the local dev server and watches for changes.
lavedon deploy
Validates the project and prepares it for deployment.
Notes
- The
buildcommand expectsbunto be available on yourPATH. - The CLI does not currently implement
lavedon login; setLAVEDON_TOKENmanually when needed.
