caas-local-docker-cli
TypeScript icon, indicating that this package has built-in type declarations

20.0.0 • Public • Published

caas-local-docker-cli

CLI for starting CAAS Java services locally in the docker environment

Usage

$ npm install -g caas-local-docker-cli
$ caas COMMAND
running command...
$ caas (--version)
caas-local-docker-cli/20.0.0 darwin-x64 node-v16.15.0
$ caas --help [COMMAND]
USAGE
  $ caas COMMAND
...

Commands

caas be [BRANCH]

Clone repositories, build docker images, run docker containers for be services.

USAGE
  $ caas be [BRANCH] [-l] [-d] [-s content|commerce|leadgen]

ARGUMENTS
  BRANCH  Branch name that will be cloned from remotes

FLAGS
  -d, --detach                Start services in detach mode
  -l, --logs                  enable debug mode and output for all logs
  -s, --services=<option>...  Services that will be started
                              <options: content|commerce|leadgen>

DESCRIPTION
  Clone repositories, build docker images, run docker containers for be services.

EXAMPLES
  $ caas be -> Start all be services with default(development) branch

  $ caas be -s content -> Start content be service with default(development) branch

  $ caas be branch_name -s content -> Start content be service with specified branch

See code: dist/commands/be/index.ts

caas clean

Clean all caas images from local docker repository

USAGE
  $ caas clean [-l]

FLAGS
  -l, --logs  enable debug mode and output for all logs

DESCRIPTION
  Clean all caas images from local docker repository

EXAMPLES
  $ caas clean -> clean all caas images from local docker repository

See code: dist/commands/clean/index.ts

caas database

Start only postgres database

USAGE
  $ caas database [-l]

FLAGS
  -l, --logs  enable debug mode and output for all logs

DESCRIPTION
  Start only postgres database

EXAMPLES
  $ caas database

See code: dist/commands/database/index.ts

caas dump

Download and apply database dump for postgres db

USAGE
  $ caas dump [-n <value>] [-l]

FLAGS
  -l, --logs          enable debug mode and output for all logs
  -n, --name=<value>  Database dump name in the s3 bucket(key)

DESCRIPTION
  Download and apply database dump for postgres db

EXAMPLES
  $ caas dump -n allprod_2022-03-29_08_09.gz -> dump with this name will be downloaded

  $ caas dump -> latest allprod dump will be downloaded

See code: dist/commands/dump/index.ts

caas fe [BRANCH]

Clone repositories, build docker images, run docker containers for fe services.

USAGE
  $ caas fe [BRANCH] [-l] [-d] [-s admin-ui|ui]

ARGUMENTS
  BRANCH  Branch name that will be cloned from remotes

FLAGS
  -d, --detach                Start fe services in detach mode
  -l, --logs                  Enable debug mode and output for all logs
  -s, --services=<option>...  Fe services that will be started
                              <options: admin-ui|ui>

DESCRIPTION
  Clone repositories, build docker images, run docker containers for fe services.

EXAMPLES
  $ caas fe -> Start all fe services with default(development) branch

  $ caas fe -s ui -> Start ui fe service with default(development) branch

  $ caas fe branch_name -s admin-ui -> Start admin-ui fe service with specified branch

See code: dist/commands/fe/index.ts

caas help [COMMAND]

Display help for caas.

USAGE
  $ caas help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for caas.

See code: @oclif/plugin-help

caas logs

Tail logs from caas services

USAGE
  $ caas logs -s content|commerce|leadgen|ui|admin-ui

FLAGS
  -s, --services=<option>...  (required) Services names that should be provided for logs output
                              <options: content|commerce|leadgen|ui|admin-ui>

DESCRIPTION
  Tail logs from caas services

EXAMPLES
  $ caas logs -s content -> content service logs

  $ caas logs -s content leadgen -> content and leadgen services logs

See code: dist/commands/logs/index.ts

caas sso

Setup aws sso session

USAGE
  $ caas sso [-l]

FLAGS
  -l, --logs  enable debug mode and output for all logs

DESCRIPTION
  Setup aws sso session

EXAMPLES
  $ caas sso

See code: dist/commands/sso/index.ts

caas stop

Stop all or specific docker containers with caas services

USAGE
  $ caas stop

DESCRIPTION
  Stop all or specific docker containers with caas services

EXAMPLES
  $ caas stop -> all services will be stopped

See code: dist/commands/stop/index.ts

Package Sidebar

Install

npm i caas-local-docker-cli

Weekly Downloads

0

Version

20.0.0

License

MIT

Unpacked Size

65.2 kB

Total Files

64

Last publish

Collaborators

  • andrii.skrypnyk