Command reference
Every Microtica CLI command, grouped by what it manages — projects, environments, applications, pipelines, components, Git, and logs.
The microtica CLI groups its commands by the resource they manage. Each group below has its own page with the full flag set and examples. Run microtica <command> --help at any time for the same details in your terminal.
Command groups
Projects
Confirm your identity and list the projects your credential can access.
Environments
Clone, deploy, wait on, and tear down environments and their resources.
Applications
Deploy, scale, and inspect Kubernetes apps.
Pipelines
Create, trigger, and inspect pipelines and their build history.
Components
Create reusable infrastructure components and scaffold them from a repo.
Git
List connected Git accounts, repositories, and branches.
Logs
Stream build, deployment, and application logs.
Conventions
A few things hold for every command:
- Project id. Most commands need one. Pass
--project <id>or setMICROTICA_PROJECT_ID. See Authenticate the CLI. - Output. Add
--jsonfor the raw response or--queryto filter it. See Output, queries, and exit codes. - Help.
microtica --helplists every command;microtica <command> --helpshows the flags for one.
Quick map
| Group | Commands |
|---|---|
| Projects | whoami, project list, project get |
| Environments | env list, get, get-details, get-resource, last-deploy, clone, deploy, wait, replicate, undeploy, delete, update-resource, add-resource, remove-resource |
| Applications | app list, last-deploy, get, logs, declare, deploy, update-config, status, resources, replicas |
| Pipelines | pipeline list, get, create, update, spec update, trigger, delete, history, builds list, builds get |
| Components | component create, list, get, init |
| Git | git accounts list, repos list, branches list |
| Logs | logs deploy, logs build, logs app |
Output, queries, and exit codes
Switch the Microtica CLI to JSON, filter responses with JMESPath, and read its error format and exit-code conventions when scripting.
Project commands
Confirm your identity and list or inspect the Microtica projects your credential can access, using the microtica whoami and project commands.