@hathora/cli

1.16.0 • Public • Published

hathora cli

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]

Readme

Keywords

none

Package Sidebar

Install

npm i @hathora/cli

Weekly Downloads

191

Version

1.16.0

License

MIT

Unpacked Size

783 kB

Total Files

3

Last publish

Collaborators

  • natgabb
  • hathora_justin
  • dsiddharth
  • gwprice115
  • hpx7