@hathora/cli
v1.19.0
Published
This is no longer supported, please using Hathora's [new CLI](https://github.com/hathora/ci) instead.
Downloads
237
Keywords
Readme
[Deprecated] hathora cli
This is no longer supported, please using Hathora's new CLI instead.
Overview
The hathora cli is a utility for interacting with the hathora api to create and manage hathora projects.
Installation
Node v16+ required
npm i -g @hathora/cli
or with yarn
yarn global add @hathora/cli
Usage
hathora-cloud [command] <options>
CI Integration
You can integrate hathora-cloud
into your CI pipeline by passing your developer token like so:
hathora-cloud deploy --appId $APP_ID --token $HATHORA_TOKEN
Here's an example Github Action.
Commands
Usage: hathora-cloud <command> [options]
Commands:
hathora-cloud completion generate completion script
hathora-cloud login Login to Hathora Cloud [aliases: l]
hathora-cloud apps [subcommand] Operations that allow you manage your applications
hathora-cloud deploy Create a new build image and deploy it
hathora-cloud logs Returns a stream of logs for an application
hathora-cloud processes [subcommand] View all processes
hathora-cloud deployments [subcommand] Create and view a build's deployment configurations at runtime
hathora-cloud builds [subcommand] Operations that allow you manage your builds
hathora-cloud room [subcommand] Operations to create, manage, and connect to rooms
Options:
--version Show version number [boolean]
--help Show help [boolean]