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 statusCheck
| Command | Description |
|---|---|
hub app <name> open | Open the app in your browser. |
hub app <name> status | Show its URL, access, release and services. |
hub app <name> logs | Follow build and runtime logs. |
Share
| Command | Description |
|---|---|
hub app <name> access | Show or choose who can open the app. |
hub app <name> invite | Let someone use this app without joining your org. |
hub app <name> invites | List the people invited to this app. |
hub app <name> uninvite | Take back an invitation to this app. The person is out on their next request. |
Configure and release
| Command | Description |
|---|---|
hub app <name> env | List the environment variable names of the app. |
hub app <name> git | Show or change the GitHub source the app deploys from. |
hub app <name> instance | Manage the instances of the app. |
hub app <name> releases | List the releases. |
hub app <name> rollback | Go back to an earlier release. |
hub app <name> redeploy | Deploy the branch head again (from GitHub), or rebuild the current release (uploaded). |
Operate
| Command | Description |
|---|---|
hub app <name> restart | Restart the app. |
hub app <name> stop | Stop the app. |
hub app <name> start | Start the app after a stop. |
hub app <name> exec | Run a command inside the app. |
hub app <name> shell | Open a shell inside the app. |
hub app <name> rm | Delete the app with every instance, or one instance given app/instance. |