@architect-io/cli
Command line interface for creating and deploying architect services
Last updated 2 months ago by david.thor .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @architect-io/cli 
SYNC missed versions from official npm registry.

Architect CLI

View Documentation

License Version License

Command line interface for creating and deploying architect services.

Requirements

  • Node >= v8.x

Usage

$ npm install -g @architect-io/cli
$ architect COMMAND
running command...
$ architect (-v|--version|version)
@architect-io/cli/0.3.3 linux-x64 node-v10.15.3
$ architect --help [COMMAND]
USAGE
  $ architect COMMAND
...

Commands

architect autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ architect autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ architect autocomplete
  $ architect autocomplete bash
  $ architect autocomplete zsh
  $ architect autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

architect build [CONTEXT]

Create an architect.json file for a service

USAGE
  $ architect build [CONTEXT]

ARGUMENTS
  CONTEXT  Path to the service to build

OPTIONS
  -h, --help       show CLI help
  -r, --recursive  Whether or not to build images for the cited dependencies
  -t, --tag=tag    Tag for the architect image
  -v, --verbose    Verbose log output

See code: src/commands/build.ts

architect commands

list all the commands

USAGE
  $ architect commands

OPTIONS
  -h, --help  show CLI help
  -j, --json  output in json format
  --hidden    also show hidden commands

See code: @oclif/plugin-commands

architect deploy [SERVICE]

Deploy service to environments

USAGE
  $ architect deploy [SERVICE]

ARGUMENTS
  SERVICE  Service name

OPTIONS
  -h, --help                     show CLI help
  -l, --local
  -s, --services=services
  --auto_approve
  --config_file=config_file
  --deployment_id=deployment_id
  --environment=environment

See code: src/commands/deploy.ts

architect environments [ENVIRONMENT]

List, create, or delete environments

USAGE
  $ architect environments [ENVIRONMENT]

ARGUMENTS
  ENVIRONMENT  Environment name

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ architect environments:list
  $ architect environment
  $ architect environment:list

See code: src/commands/environments/index.ts

architect environments:clone [ENVIRONMENT]

Clone environment

USAGE
  $ architect environments:clone [ENVIRONMENT]

ARGUMENTS
  ENVIRONMENT  Environment name

OPTIONS
  -h, --help             show CLI help
  --name=name
  --namespace=namespace

ALIASES
  $ architect environment:clone

See code: src/commands/environments/clone.ts

architect environments:create [NAME]

Create environment

USAGE
  $ architect environments:create [NAME]

ARGUMENTS
  NAME  Environment name

OPTIONS
  -c, --config_file=config_file
  -h, --help                                       show CLI help
  -h, --host=host
  -k, --kubeconfig=kubeconfig                      [default: ~/.kube/config]
  -n, --namespace=namespace
  -t, --type=kubernetes                            [default: kubernetes]
  --cluster_ca_certificate=cluster_ca_certificate  File path of cluster_ca_certificate
  --service_token=service_token                    Service token

ALIASES
  $ architect environment:create

See code: src/commands/environments/create.ts

architect environments:destroy [ENVIRONMENT]

Destroy environment

USAGE
  $ architect environments:destroy [ENVIRONMENT]

ARGUMENTS
  ENVIRONMENT  Environment name

OPTIONS
  -f, --force
  -h, --help      show CLI help
  --auto_approve

ALIASES
  $ architect environment:destroy

See code: src/commands/environments/destroy.ts

architect environments:services [ENVIRONMENT]

Search an environments services

USAGE
  $ architect environments:services [ENVIRONMENT]

ARGUMENTS
  ENVIRONMENT  Environment name

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ architect environments:services:list
  $ architect environments:services:versions
  $ architect environment:services
  $ architect environment:services:list
  $ architect environment:services:versions

See code: src/commands/environments/services/index.ts

architect environments:services:destroy [ENVIRONMENT]

Destroy service from an environment

USAGE
  $ architect environments:services:destroy [ENVIRONMENT]

ARGUMENTS
  ENVIRONMENT  Environment name

OPTIONS
  -h, --help                         show CLI help
  -p, --deployment_id=deployment_id
  -s, --service=service              Service name
  --auto_approve

ALIASES
  $ architect environment:services:destroy

See code: src/commands/environments/services/destroy.ts

architect environments:update [NAME]

Update environment

USAGE
  $ architect environments:update [NAME]

ARGUMENTS
  NAME  Environment name

OPTIONS
  -h, --help                                       show CLI help
  --cluster_ca_certificate=cluster_ca_certificate  File path of cluster_ca_certificate
  --config_file=config_file
  --host=host
  --service_token=service_token                    Service token

ALIASES
  $ architect environment:update

See code: src/commands/environments/update.ts

architect help [COMMAND]

display help for architect

USAGE
  $ architect help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

architect init [NAME]

Create an architect.json file for a service

USAGE
  $ architect init [NAME]

OPTIONS
  -a, --author=author
  -d, --description=description
  -h, --help                     show CLI help
  -k, --keywords=keywords
  -l, --license=license          [default: MIT]
  -v, --version=version          [default: 0.1.0]

See code: src/commands/init.ts

architect install [SERVICE_NAME]

Install dependencies of the current service

USAGE
  $ architect install [SERVICE_NAME]

ARGUMENTS
  SERVICE_NAME  Remote service dependency

OPTIONS
  -h, --help           show CLI help
  -p, --prefix=prefix  Path prefix indicating where the install command should execute from
  -r, --recursive      Generate architect dependency files for all services in the dependency tree
  -v, --verbose        Verbose log output

See code: src/commands/install.ts

architect login

Log in to a Architect registry

USAGE
  $ architect login

OPTIONS
  -h, --help               show CLI help
  -p, --password=password  Password
  -u, --username=username  Username

See code: src/commands/login.ts

architect logout

Logout of the Architect registry

USAGE
  $ architect logout

OPTIONS
  -h, --help  show CLI help

See code: src/commands/logout.ts

architect push [CONTEXT]

Push service(s) to a registry

USAGE
  $ architect push [CONTEXT]

ARGUMENTS
  CONTEXT  Path to the service to build

OPTIONS
  -h, --help       show CLI help
  -r, --recursive  Whether or not to build images for the cited dependencies
  -t, --tag=tag    Tag for the architect image
  -v, --verbose    Verbose log output

See code: src/commands/push.ts

architect services [SERVICE_NAME]

Search services

USAGE
  $ architect services [SERVICE_NAME]

ARGUMENTS
  SERVICE_NAME  Service name

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ architect services:list
  $ architect services:versions

See code: src/commands/services/index.ts

architect uninstall SERVICE_NAME

Uninstall dependencies of the current service

USAGE
  $ architect uninstall SERVICE_NAME

OPTIONS
  -h, --help           show CLI help
  -p, --prefix=prefix  Path prefix indicating where the install command should execute from

See code: src/commands/uninstall.ts

Special Thanks

Current Tags

  • 0.3.3                                ...           latest (2 months ago)

18 Versions

  • 0.3.3                                ...           2 months ago
  • 0.3.2                                ...           2 months ago
  • 0.3.1                                ...           2 months ago
  • 0.3.0                                ...           3 months ago
  • 0.2.4                                ...           4 months ago
  • 0.2.3                                ...           4 months ago
  • 0.2.2 [deprecated]           ...           4 months ago
  • 0.2.1 [deprecated]           ...           4 months ago
  • 0.2.0 [deprecated]           ...           4 months ago
  • 0.1.9 [deprecated]           ...           8 months ago
  • 0.1.8 [deprecated]           ...           9 months ago
  • 0.1.7 [deprecated]           ...           9 months ago
  • 0.1.6 [deprecated]           ...           10 months ago
  • 0.1.5 [deprecated]           ...           10 months ago
  • 0.1.3 [deprecated]           ...           10 months ago
  • 0.1.2 [deprecated]           ...           10 months ago
  • 0.1.1 [deprecated]           ...           10 months ago
  • 0.1.0 [deprecated]           ...           10 months ago
Downloads
Today 0
This Week 0
This Month 18
Last Day 0
Last Week 18
Last Month 55
Dependencies (26)
Dev Dependencies (26)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |