Projects and builds (CLI)
Drive GitMyABI from the terminal after gma login.
The commands below are only available after gma login. They mirror what you can do in the web app, scriptable from the terminal. The same subcommands are also available inside gma shell.
gma shell
gma shell opens an interactive REPL with the full command set, including the groups below. Use it for exploration; use the top-level commands for scripting.
gma project
Subcommands:
use— set the active project for subsequent commands.list(aliasls),show,create(aliasnew),update(aliasedit),rename,settings,transfer,delete(aliasrm),check-name,check-npm,builds.
Run gma project --help or gma project <sub> --help for the full flag set.
gma build
Trigger and observe hosted builds.
gma build trigger <project>— flags:--profile <name>,--api-url <url>,--watch,--json. (Alias:rebuild.)gma build watch <buildId>— flags:--profile,--api-url,--poll-interval <seconds>. (Alias:follow.)gma build cancel <buildId>— flags:--profile,--api-url.gma build status <buildId>— flags:--profile,--api-url,--json.- Other shell-style subcommands:
list(aliasls),show,run,logs,artifacts,tiers,delete(aliasrm).
gma repo
Browse the GitHub repositories accessible to the active session.
list— list repositories.branches— list branches for a repository.branch-info— show metadata about a branch.contents— list a path inside a repository.info— show repository metadata.
gma abi
project— list ABIs indexed for a project.build— list ABIs produced by a specific build.
gma session
status— high-level session status.whoami— alias for the top-levelgma whoami.info— verbose session info.refresh— refresh the access token.clear(aliascls) — clear the terminal screen (only insidegma shell).
gma team
Manage teams, memberships, slugs, and subscription state with gma team --help. Subcommands include list, show, create, update, delete, use, check-slug, subscription, members.
Related
- CLI overview
What the gma CLI does and when to use it.
- Sign in with the CLI
Authenticate the gma CLI with your GitMyABI account.
- Command reference
Concise reference of every gma command and key flags.
- Projects and builds
How a GitMyABI project maps to a GitHub repository and how builds produce artifacts.
- Configure builds
Trigger builds, watch logs, and download build artifacts.