Globe CLI
Install and start deploying using the Globe CLI.
The Globe CLI is a command line tool that helps you deploy and interact with your Dart applications via Globe.
Pre-requisites
To get started, you must have the Dart SDK installed on your machine.
Installation
To install the Globe CLI, run the following command:
dart pub global activate globe_cli
Once installed, you can access the globe
executable from anywhere on your machine.
To login with your Globe account, run the following command:
globe login
Commands
The Globe CLI provides the following commands, which can be accessed by running globe <command>
:
deploy
- Deploy your Dart application to Globe directly from the command line.login
- Login to your Globe account.logout
- Logout of your Globe account.link
- Link a local project to a Globe project.unlink
- Unlink a local project from a Globe project.token
- Create, Delete & List globe auth tokens from the command line.update
- Updates the CLI to the latest version.build-logs
- View build logs for a given deployment ID.create
- Create a project using Globe Templates.
Global Flags
All CLI commands have global flags that can be used to modify the behavior of the command, which can be accessed by running globe <command> --<flag>
.
--help
- Display help information for the command.--verbose
- Display verbose output for the command, such as API calls and debug information.--token
- Use API token for CLI Auth.--project
- Set the Project ID used by this command. Defaults to what was previously linked usingglobe link
.--org
- Set the Organization ID used by this command. Defaults to what was previously linked usingglobe link
.