CLI commands
Interacting with the Hadean Platform

Commands

Usage

hadean <SUBCOMMAND>
Flags
--help | -h
Prints help information
--version | -v
Prints version information
--debug
Print debug information from the CLI when running any command. This includes:
  • All HTTP requests made
  • Terraform logs
  • Scaling logs
  • Setting RUST_LOG=debug in your applications environment so that the debug!() macro will write to the log.
  • Setting RUST_BACKTRACE=1 in your applications environment.
--simple
Don't print fancy logs, just print the logs alone (no colour / levels / time).
--no-parse-logs
Don't parse out the messages from our JSON log format, instead, just print the JSON!
Subcommands
help
Prints help message or the help for a given subcommand
login
Authenticates the CLI with the Hadean authentication service
run
Runs an application on your local machine
cluster
Create, manage and use remote clusters to run your application
config
Adjust configuration values for the CLI

Remote commands

When using the cluster subcommand, the CLI takes further subcommands to interact with remote clusters, and a cluster name to specify which cluster to interact with:

Usage

hadean cluster [--name <name>] <SUBCOMMAND>
Subcommands
help
Prints help message or the help for a given subcommand
create
Create a cluster to run applications in the cloud
list
List available clusters
deploy
Deploy your application to a cluster
run
Run your application on a remote cluster
status
Get the status of the application on a remote cluster
logs
Get the logs from the currently running, or last run application on the remote cluster
stop
Stop your application when running on a remote cluster
clean-up
Remove dynamic resources (standby machines) from a cluster that is not currently running any application
destroy
Destroy the cluster and its resources - this action is not reversible.
Note that while hadean cluster destroy removes almost all resources, some terraform state files and associated storage is not removed. This can be cleaned up manually.

Removed commands

Remote cluster login

The hadean cluster login command has been removed. User credentials are no longer used on clusters. Read about this in Getting your cloud ready for the Hadean Platform.