doctl
is a command-line interface for the DigitalOcean API and supports many of the same actions.
To use doctl
, you must first install it.
The commands for App Platform are inside the apps
command space
To create or update an app, you can pass in a YAML or JSON app specification to doctl apps create
:
doctl apps create --spec <path-to-spec>