@bantohq/cli
v0.2.0
Published
The `banto` command-line tool for building and publishing [banto.tv](https://banto.tv) party games written in the Banto DSL.
Downloads
67
Readme
@bantohq/cli
The banto command-line tool for building and publishing banto.tv
party games written in the Banto DSL.
npm install -g @bantohq/cliQuick start
banto init my-game # scaffold a new project
cd my-game
banto build # compile to game.json
banto auth # log in to banto.tv
banto publish # publish (or update) your game on banto.tvOnce published, your game is playable at banto.tv — host a room and share the code.
Commands
banto init <dir>— scaffold a new project from a templatebanto build— compile the current project togame.jsonbanto fmt [path]— format.bantofiles in place (-c/--checkto verify)banto auth— log in to banto.tvbanto publish— publish or update the current project on banto.tvbanto update— automatically update the@bantohq/clipackage (-c,--checkto verify)banto sandbox— automatically open up the banto.tv sandbox in your browser (-t,--template <0-3>to specify)banto assets— manage the project's custom image/audio assets:assets push [dir]— upload new/changed files from./assetsassets ls— list your assets and their moderation stateassets rm <name|id>— delete an owned assetassets catalog— open the public asset catalog in your browser
Run banto <command> --help for the full options of any command.
Configuration
Credentials are stored per-user at ~/.config/banto/ (Linux/macOS) or
%APPDATA%\banto\ (Windows). banto auth writes them; banto publish
and banto assets read them.
Learn more
- banto.tv — play and host games
