awe-cli
v0.0.10
Published
CLI tool to develop https://awe.box games locally
Readme
awe-cli
A command-line tool that enables local development of game scripts for awe.box games, allowing you to use your preferred code editor while automatically syncing changes with the awe.box platform.
Development Workflow
Optionally, create a new game in awe.box website if you don't have one yet.
In your local project directory, run
npx awe-cli checkout <gameId>- Run
npm run startto start the development server.
Available Commands
Development Server
npm run startStarts the development server, automatically syncs local scripts, and opens the awe.box studio in your default browser.
Watch Mode
npm run watchWatches for local changes and automatically pushes them to the remote game.
Manual Sync
npm run pushManually pushes local changes to the remote game.
Authentication
npm run login # Login to AWE platform (automatic when running other commands)
npm run logout # Logout from AWE platform