@architect-io/cli
Command line interface for creating and deploying architect services
Last updated a month 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.2.4 darwin-x64 node-v11.15.0
$ 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
  -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:create [NAME]

Create or update environment

USAGE
  $ architect environments:create [NAME]

ARGUMENTS
  NAME  Environment name

OPTIONS
  -h, --help                                       show CLI help
  -v, --verbose                                    Verbose log output
  --cluster_ca_certificate=cluster_ca_certificate  File path of cluster_ca_certificate
  --host=host
  --namespace=namespace
  --service_token=service_token                    Service token
  --type=kubernetes                                [default: kubernetes]

ALIASES
  $ architect environment:create
  $ architect environment:update
  $ architect environments:update

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

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 [SERVICE]

Destroy service from an environment

USAGE
  $ architect environments:services:destroy [SERVICE]

ARGUMENTS
  SERVICE  Service name

OPTIONS
  -h, --help                         show CLI help
  -p, --deployment_id=deployment_id
  --environment=environment          Environment name

ALIASES
  $ architect environment:services:destroy

See code: src/commands/environments/services/destroy.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
  -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.2.4                                ...           latest (a month ago)

14 Versions

  • 0.2.4                                ...           a month ago
  • 0.2.3                                ...           a month ago
  • 0.2.2 [deprecated]           ...           a month ago
  • 0.2.1 [deprecated]           ...           a month ago
  • 0.2.0 [deprecated]           ...           a month ago
  • 0.1.9 [deprecated]           ...           5 months ago
  • 0.1.8 [deprecated]           ...           6 months ago
  • 0.1.7 [deprecated]           ...           6 months ago
  • 0.1.6 [deprecated]           ...           7 months ago
  • 0.1.5 [deprecated]           ...           7 months ago
  • 0.1.3 [deprecated]           ...           8 months ago
  • 0.1.2 [deprecated]           ...           8 months ago
  • 0.1.1 [deprecated]           ...           8 months ago
  • 0.1.0 [deprecated]           ...           8 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 133
Dependencies (24)
Dev Dependencies (21)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |