CLI Overview
The brdz CLI provides a comprehensive set of commands for managing your applications, projects, and infrastructure.
Command Structure
Section titled “Command Structure”All brdz commands follow a consistent structure:
brdz <resource>:<action> [arguments] [flags]For example:
brdz projects:create my-projectbrdz apps:listbrdz releases:create ./dist.zip
Command Categories
Section titled “Command Categories”Authentication & Accounts
Section titled “Authentication & Accounts”accounts:create- Create a new accountauth:login- Authenticate and get an API key
Context Management
Section titled “Context Management”ctx:use- Set project and app context interactivelyctx:get- View current context
Projects
Section titled “Projects”projects:create- Create a new projectprojects:list- List all projectsprojects:get- Get project details
apps:create- Create a new appapps:list- List apps in current projectapps:get- Get app details
Releases
Section titled “Releases”releases:create- Create and deploy a new releasereleases:list- List releases for current appreleases:rollback- Rollback to a previous release
Hostnames
Section titled “Hostnames”hostnames:create- Add a custom hostname to an apphostnames:list- List hostnames for current app
DNS Management
Section titled “DNS Management”dns:zones:create- Create a DNS zonedns:zones:list- List all DNS zonesdns:zones:get- Get DNS zone detailsdns:zones:verify- Verify DNS zone nameserver configurationdns:zones:deactivate- Deactivate a DNS zonedns:zones:delete- Delete a DNS zonedns:records:create- Create a DNS recorddns:records:list- List DNS records for a zonedns:records:get- Get DNS record detailsdns:records:delete- Delete a DNS recorddns:records:clone- Clone DNS records from an existing domain
Global Flags
Section titled “Global Flags”Most commands support these global flags:
--help,-h- Show help for a command--version,-v- Show version information
Getting Help
Section titled “Getting Help”Get help for any command:
# General helpbrdz --help
# Help for a specific commandbrdz projects:create --helpConfiguration
Section titled “Configuration”brdz stores configuration in ~/.brdz/:
credentials- API key and hostnamecontext- Current project and app selection
You can override these settings using environment variables. See Environment Variables for details.