CLI Reference

An overview of the Plash CLI commands

plash_login

plash_login --help
usage: plash_login [-h]

Authenticate CLI with server and save config

options:
  -h, --help  show this help message and exit

plash_deploy

plash_deploy --help
usage: plash_deploy [-h] [--path PATH] [--app_id APP_ID]

Ship your app to production

options:
  -h, --help       show this help message and exit
  --path PATH      Path to project (default: .)
  --app_id APP_ID  Overrides the .plash file in project root if provided

plash_view

plash_view --help
usage: plash_view [-h] [--path PATH] [--app_id APP_ID]

Open your app in the browser

options:
  -h, --help       show this help message and exit
  --path PATH      Path to project directory (default: .)
  --app_id APP_ID  Overrides the .plash file in project root if provided

plash_start

plash_start --help
usage: plash_start [-h] [--path PATH] [--app_id APP_ID]

Access the '/start' endpoint for your app

options:
  -h, --help       show this help message and exit
  --path PATH      Path to project (default: .)
  --app_id APP_ID  Overrides the .plash file in project root if provided

plash_stop

plash_stop --help
usage: plash_stop [-h] [--path PATH] [--app_id APP_ID]

Access the '/stop' endpoint for your app

options:
  -h, --help       show this help message and exit
  --path PATH      Path to project (default: .)
  --app_id APP_ID  Overrides the .plash file in project root if provided

plash_logs

plash_logs --help
usage: plash_logs [-h] [--path PATH] [--app_id APP_ID] [--mode {build,app}]
                  [--tail]

Prints the logs for your deployed app

options:
  -h, --help          show this help message and exit
  --path PATH         Path to project (default: .)
  --app_id APP_ID     Overrides the .plash file in project root if provided
  --mode {build,app}  Choose between build or app logs (default: build)
  --tail              Tail the logs (default: False)

plash_download

plash_download --help
usage: plash_download [-h] [--path PATH] [--app_id APP_ID]
                      [--save_path SAVE_PATH]

Download your deployed app

options:
  -h, --help             show this help message and exit
  --path PATH            Path to project (default: .)
  --app_id APP_ID        Overrides the .plash file in project root if provided
  --save_path SAVE_PATH  Save path (optional) (default: download)

plash_delete

plash_delete --help
usage: plash_delete [-h] [--path PATH] [--app_id APP_ID] [--force]

Delete your deployed app

options:
  -h, --help       show this help message and exit
  --path PATH      Path to project (default: .)
  --app_id APP_ID  Overrides the .plash file in project root if provided
  --force          Skip confirmation prompt (default: False)