Cli
Architect is the world’s first DevOps-as-a-Service toolset designed to help democratize environment provisioning for engineers. With Architect, anyone can deploy any service, anywhere, for any reason with the push of a button.
Our unique approach to continuous delivery is powered by an embedded dependency resolver. By simply asserting your microservice dependenies, Architect is able to build a graph of your application and deploy the entire stack to your favorite cloud provider.
Architect’s CLI, which provides the full developer experience needed to create components and operate local environments, is fully open-source. The CLI can deploy components locally using docker-compose, enrich the deployments with components found in Architect’s Cloud registry, and allows developers to publish their own components to the registry both publicly and privately for free.
Requirements
- Docker must be installed
- Node.js
v14
or higher must be installed
Usage
Commands
architect autocomplete [SHELL]
architect clusters [QUERY]
architect clusters:create [CLUSTER]
architect clusters:destroy [CLUSTER]
architect components:versions [COMPONENT_NAME]
architect config:get OPTION
architect config:set OPTION VALUE
architect config:view
architect deploy [CONFIGS_OR_COMPONENTS]
architect destroy
architect dev [CONFIGS_OR_COMPONENTS]
architect dev:list
architect dev:restart [SERVICES]
architect dev:stop [NAME]
architect doctor
architect environments:create [ENVIRONMENT]
architect environments:destroy [ENVIRONMENT]
architect environments:ingresses [ENVIRONMENT]
architect exec [RESOURCE] [FLAGS] -- [COMMAND]
architect help [COMMAND]
architect init [NAME]
architect link [COMPONENTPATH]
architect link:list
architect login
architect logout
architect logs [RESOURCE]
architect port-forward [RESOURCE] [FLAGS]
architect register [COMPONENT]
architect scale [SERVICE]
architect secrets:download SECRETS_FILE
architect secrets:upload SECRETS_FILE
architect task COMPONENT TASK
architect unlink [COMPONENTPATHORNAME]
architect autocomplete [SHELL]
display autocomplete installation instructions
See code: @oclif/plugin-autocomplete
architect clusters [QUERY]
Search for clusters on Architect Cloud
See code: src/commands/clusters/index.ts
architect clusters:create [CLUSTER]
Register a new cluster with Architect Cloud
See code: src/commands/clusters/create.ts
architect clusters:destroy [CLUSTER]
Deregister a cluster from Architect
See code: src/commands/clusters/destroy.ts
architect components:versions [COMPONENT_NAME]
Search component versions of a particular component
See code: src/commands/components/versions.ts
architect config:get OPTION
Get the value of a CLI config option
See code: src/commands/config/get.ts
architect config:set OPTION VALUE
Set a new value for a CLI configuration option
See code: src/commands/config/set.ts
architect config:view
View all the CLI configuration settings
See code: src/commands/config/view.ts
architect deploy [CONFIGS_OR_COMPONENTS]
Create a deploy job on Architect Cloud
See code: src/commands/deploy.ts
architect destroy
Destroy components from an environment
See code: src/commands/destroy.ts
architect dev [CONFIGS_OR_COMPONENTS]
Run your stack locally
See code: src/commands/dev/index.ts
architect dev:list
List all running dev instances.
See code: src/commands/dev/list.ts
architect dev:restart [SERVICES]
Restart or rebuild a running service
See code: src/commands/dev/restart.ts
architect dev:stop [NAME]
Stop a local deployment
See code: src/commands/dev/stop.ts
architect doctor
Get debugging information for troubleshooting
See code: src/commands/doctor.ts
architect environments:create [ENVIRONMENT]
Register a new environment with Architect Cloud
See code: src/commands/environments/create.ts
architect environments:destroy [ENVIRONMENT]
Deregister an environment
See code: src/commands/environments/destroy.ts
architect environments:ingresses [ENVIRONMENT]
List the resolvable URLs for services exposed by your environment
See code: src/commands/environments/ingresses.ts
architect exec [RESOURCE] [FLAGS] -- [COMMAND]
Exec into service instances
See code: src/commands/exec.ts
architect help [COMMAND]
Display help for architect.
See code: @oclif/plugin-help
architect init [NAME]
Initialize an architect component from an existing docker-compose file or create a project from Architect starter projects.
See code: src/commands/init.ts
architect link [COMPONENTPATH]
Link a local component to the host to be used to power local deployments.
See code: src/commands/link/index.ts
architect link:list
List all linked components.
See code: src/commands/link/list.ts
architect login
Login to the Architect Cloud platform
See code: src/commands/login.ts
architect logout
Logout from the Architect registry
See code: src/commands/logout.ts
architect logs [RESOURCE]
Get logs from services both locally and remote
See code: src/commands/logs.ts
architect port-forward [RESOURCE] [FLAGS]
Port forward service to localhost
See code: src/commands/port-forward.ts
architect register [COMPONENT]
Register a new Component with Architect Cloud. Multiple components are accepted. If multiple components are specified, the same command arg(s) and flag(s) will be applied to each component.
See code: src/commands/register.ts
architect scale [SERVICE]
Scale a service to a specified number of replicas.
See code: src/commands/scale.ts
architect secrets:download SECRETS_FILE
Download secrets from an account or an environment
See code: src/commands/secrets/download.ts
architect secrets:upload SECRETS_FILE
Upload secrets from a file to an account or an environment
See code: src/commands/secrets/upload.ts
architect task COMPONENT TASK
Execute a task in the given environment
See code: src/commands/task.ts
architect unlink [COMPONENTPATHORNAME]
Unlink a component from the host by path or name
See code: src/commands/unlink.ts