HubDocs

CLI reference

hub app <name>

Check, share and run one app.

Check, share and run one app. <name> is the app, or app/instance for an instance other than prod, such as my-app/staging.

Usage

hub app <name> <command> [options]

Examples

# Open the app in your browser
hub app my-app open

# Check its status
hub app my-app status

# Follow build and runtime logs
hub app my-app logs

# Owner and invited people only
hub app my-app access private

# Let someone use this app
hub app my-app invite client@example.com

# The staging instance of my-app
hub app my-app/staging status

Check

CommandDescription
hub app <name> openOpen the app in your browser.
hub app <name> statusShow its URL, access, release and services.
hub app <name> logsFollow build and runtime logs.

Share

CommandDescription
hub app <name> accessShow or choose who can open the app.
hub app <name> inviteLet someone use this app without joining your org.
hub app <name> invitesList the people invited to this app.
hub app <name> uninviteTake back an invitation to this app. The person is out on their next request.

Configure and release

CommandDescription
hub app <name> envList the environment variable names of the app.
hub app <name> gitShow or change the GitHub source the app deploys from.
hub app <name> instanceManage the instances of the app.
hub app <name> releasesList the releases.
hub app <name> rollbackGo back to an earlier release.
hub app <name> redeployDeploy the branch head again (from GitHub), or rebuild the current release (uploaded).

Operate

CommandDescription
hub app <name> restartRestart the app.
hub app <name> stopStop the app.
hub app <name> startStart the app after a stop.
hub app <name> execRun a command inside the app.
hub app <name> shellOpen a shell inside the app.
hub app <name> rmDelete the app with every instance, or one instance given app/instance.

On this page