CLI reference
Use GenuineCI from your terminal. Commands for installation, login, and switching teams.
Install
Section titled “Install”Install the CLI with Dart 3.11.5 or later.
dart install genuineci_cligenuineci --helpIf the command is not found, check the Dart PATH configuration.
Log in
Section titled “Log in”Use the same email address and password as the dashboard. Enter your password in the interactive prompt.
genuineci loginTo use another server, specify its HTTPS URL.
genuineci login --server https://ci.example.comFor a self-hosted Firebase project, also provide its Web API key with --firebase-api-key.
Check your status
Section titled “Check your status”View your current profile, server, and team.
genuineci statusSwitch teams
Section titled “Switch teams”Select a team interactively. Use the arrow keys to move, Enter to select, and Esc to cancel.
genuineci switch teamSecret commands will then operate on the newly selected team.
Commands
Section titled “Commands”| Command | Purpose |
|---|---|
genuineci login | Log in to a remote environment |
genuineci status | Check your current profile and team |
genuineci switch team | Switch the active team |
genuineci list secrets | List secret names |
genuineci register secret | Register or update a secret |
genuineci register secretFile | Register a file as Base64 |
genuineci sync | Generate secret definitions and workspace paths |
genuineci sync --secrets | Generate secret definitions only |
genuineci sync --paths | Generate workspace paths only; no login required |
genuineci update | Update the CLI |
Files generated by sync are saved under openci/generated/. Import generated/secrets.g.dart and generated/paths.g.dart in your workflows.
Language and updates
Section titled “Language and updates”Switch CLI messages between Japanese and English.
genuineci use japanesegenuineci use englishTo update to the latest stable release, run:
genuineci update