0.65.2 • Published 2 years ago

@payfit/todd-cli v0.65.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Usage

A CLI to manage ToDD

$ npm install -g @payfit/todd-cli
$ todd COMMAND
running command...
$ todd (-v|--version|version)
@payfit/todd-cli/0.65.1 linux-x64 node-v14.18.1
$ todd --help [COMMAND]
USAGE
  $ todd COMMAND
...

Contribute

See CONTRIBUTE.

Commands

todd active

List active ToDD(s)

USAGE
  $ todd active

OPTIONS
  -e, --extended  Show state, date and author
  -h, --help      show CLI help

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

todd api REFERENCE

Change the ToDD API context

USAGE
  $ todd api REFERENCE

ARGUMENTS
  REFERENCE  prod | staging | local | CUSTOM_URL

OPTIONS
  -h, --help  show CLI help

See code: src/commands/api.ts

todd audit

Audit the CLI versions and tools setup

USAGE
  $ todd audit

OPTIONS
  -h, --help  show CLI help

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

todd autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ todd autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

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

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

See code: @oclif/plugin-autocomplete

todd config

Manage the Configuration

USAGE
  $ todd config

OPTIONS
  -h, --help              show CLI help
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

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

todd config:get KEY

Get a value from the configuration

USAGE
  $ todd config:get KEY

ARGUMENTS
  KEY  Key from the configuration

OPTIONS
  -h, --help  show CLI help

See code: src/commands/config/get.ts

todd config:locate

Get the location of the configuration file

USAGE
  $ todd config:locate

OPTIONS
  -h, --help  show CLI help

See code: src/commands/config/locate.ts

todd config:remove KEY

Remove a value from the configuration

USAGE
  $ todd config:remove KEY

ARGUMENTS
  KEY  Key to delete from the configuration

OPTIONS
  -h, --help  show CLI help

See code: src/commands/config/remove.ts

todd config:set KEY VALUE

Set a value inside the configuration

USAGE
  $ todd config:set KEY VALUE

ARGUMENTS
  KEY    Key to be set in the configuration
  VALUE  Value to set in the configuration

OPTIONS
  -h, --help  show CLI help

See code: src/commands/config/set.ts

todd config:setup

Setup the default values for a ToDD

USAGE
  $ todd config:setup

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ todd setup

See code: src/commands/config/setup.ts

todd create

Create a new ToDD

USAGE
  $ todd create

OPTIONS
  -a, --author=author         Author of the ToDD
  -c, --context=context       [default: ./] Path to the todd file (default .todd.yaml then .todd-dev.yaml)
  -d, --dry                   Run in dry mode
  -h, --help                  show CLI help
  -p, --profile=profile       Profile to use
  -t, --todd=todd             ToDD context to use
  --ci                        Prevent prompting questions and browser open
  --countries=fr|it|es|gb|de  Countries to deploy
  --dbs=client|jetlang        Databases to deploy
  --description=description   Description of the ToDD
  --dev                       Enable services in dev mode
  --no-open                   Prevent opening a browser on the Portal after creation
  --service=service           Define a service from parameters. Format is <service-name>@<channel>
  --tag=tag                   Chart tag to use for local services
  --yes                       Prevent prompting questions

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

todd current

Get the current ToDD context

USAGE
  $ todd current

OPTIONS
  -h, --help  show CLI help

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

todd db

Get information about your DBs

USAGE
  $ todd db

OPTIONS
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

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

todd delete

Delete a ToDD

USAGE
  $ todd delete

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

ALIASES
  $ todd rip

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

todd describe

Get the detail of a ToDD

USAGE
  $ todd describe

OPTIONS
  -e, --extended   Show more information
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

ALIASES
  $ todd get
  $ todd info
  $ todd desc

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

todd dev

Manage the Dev config on your ToDD

USAGE
  $ todd dev

OPTIONS
  -h, --help             show CLI help
  -p, --profile=profile  Profile to use

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

todd dev:check

Check installed required tools

USAGE
  $ todd dev:check

OPTIONS
  -h, --help  show CLI help

See code: src/commands/dev/check.ts

todd dev:connect

(re)Connect to Telepresence

USAGE
  $ todd dev:connect

OPTIONS
  -h, --help  show CLI help

See code: src/commands/dev/connect.ts

todd dev:run

Run intercept with telepresence on your services

USAGE
  $ todd dev:run

OPTIONS
  -c, --context=context  [default: ./] Path to the todd file (default .todd.yaml then .todd-dev.yaml)
  -d, --dry              Just logs commands without execute
  -h, --help             show CLI help
  -t, --todd=todd        ToDD context to use
  -w, --wait=wait        [default: 5000] Milliseconds to wait before running commands

See code: src/commands/dev/run.ts

todd dev:services

Services ready to be use in Dev mode

USAGE
  $ todd dev:services

OPTIONS
  -h, --help  show CLI help

ALIASES
  $ todd dev:service
  $ todd dev:app
  $ todd dev:apps

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

todd dev:stop

Stop Intercepts from Telepresence

USAGE
  $ todd dev:stop

OPTIONS
  -d, --dry        Just logs commands without execute
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

ALIASES
  $ todd leave

See code: src/commands/dev/stop.ts

todd dev:sync

Sync services available in dev mode on ArgoCD

USAGE
  $ todd dev:sync

OPTIONS
  -h, --help  show CLI help

See code: src/commands/dev/sync.ts

todd doc [TYPE]

Open ToDD Documentation

USAGE
  $ todd doc [TYPE]

ARGUMENTS
  TYPE  (cli) [default: doc]
        Which doc you want to open

OPTIONS
  -h, --help  show CLI help

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

todd env

Get the environment of a service

USAGE
  $ todd env

OPTIONS
  -f, --file=file            Save it in a file
  -h, --help                 show CLI help
  -o, --output=json|dotfile  [default: dotfile] Choose the output type
  -s, --service=service      (required) Service to get
  -t, --todd=todd            ToDD context to use

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

todd help [COMMAND]

display help for todd

USAGE
  $ todd help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

todd history

Get the history of a ToDD

USAGE
  $ todd history

OPTIONS
  -e, --extended     Show state, date and author
  -h, --help         show CLI help
  -l, --limit=limit  [default: 10] Maximum commits to show
  -r, --raw          Remove headers and loaders
  -t, --todd=todd    ToDD context to use

ALIASES
  $ todd commits
  $ todd logs
  $ todd lg

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

todd list

List ToDDs

USAGE
  $ todd list

OPTIONS
  -a, --author=author                             Filter on the author
  -d, --dev                                       ToDD with Dev Mode setup
  -e, --extended                                  Show state, date and author
  -h, --help                                      show CLI help
  -r, --raw                                       Remove headers and loaders
  --logging                                       ToDD with Remote Logging setup
  --state=created|resumed|updated|paused|deleted  Filter on the state

ALIASES
  $ todd ls

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

todd mine

List your ToDD(s)

USAGE
  $ todd mine

OPTIONS
  -a, --author=author  Filter on the author
  -h, --help           show CLI help

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

todd open [TYPE]

Open applications from a ToDD

USAGE
  $ todd open [TYPE]

ARGUMENTS
  TYPE  (argocd|github|catalog|app|portal) [default: app]
        Which app you want to open

OPTIONS
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

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

todd pause

Pause a ToDD

USAGE
  $ todd pause

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

ALIASES
  $ todd down
  $ todd stop

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

todd pods

Get the pods from a ToDD

USAGE
  $ todd pods

OPTIONS
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

See code: src/commands/pods.ts

todd rebase

Rebase a ToDD to the latest templates

USAGE
  $ todd rebase

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

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

todd resume

Resume a ToDD

USAGE
  $ todd resume

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use

ALIASES
  $ todd up
  $ todd wake

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

todd status

Get the Status of a ToDD

USAGE
  $ todd status

OPTIONS
  -h, --help       show CLI help
  -t, --todd=todd  ToDD context to use
  --errored

See code: src/commands/status.ts

todd superman

Check non-healthy ToDD(s)

USAGE
  $ todd superman

OPTIONS
  -a, --author=author  Filter on the author
  -h, --help           show CLI help

ALIASES
  $ todd sauron
  $ todd wassup
  $ todd support

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

todd sync

Sync a Service on a ToDD

USAGE
  $ todd sync

OPTIONS
  -h, --help             show CLI help
  -s, --service=service  Services to trigger synchronization
  -t, --todd=todd        ToDD context to use

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

todd use TODD

Define a ToDD to use as context

USAGE
  $ todd use TODD

OPTIONS
  -h, --help  show CLI help

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

0.64.2

2 years ago

0.64.1

2 years ago

0.64.0

2 years ago

0.65.2

2 years ago

0.65.1

2 years ago

0.65.0

2 years ago

0.62.3

2 years ago

0.62.2

2 years ago

0.63.0

2 years ago

0.62.2-beta.1

3 years ago

0.62.1

3 years ago

0.62.0

3 years ago

0.60.0

3 years ago

0.59.0

3 years ago

0.57.0

3 years ago

0.61.1

3 years ago

0.61.0

3 years ago

0.58.0

3 years ago

0.56.1

3 years ago

0.56.2

3 years ago

0.55.1

3 years ago

0.56.0

3 years ago

0.55.0

3 years ago

0.54.0

3 years ago

0.53.0

3 years ago

0.51.0

3 years ago

0.52.0

3 years ago

0.48.0

3 years ago

0.50.0

3 years ago

0.49.0

3 years ago

0.46.0

3 years ago

0.46.1

3 years ago

0.47.0

3 years ago

0.45.0

3 years ago

0.44.0

3 years ago

0.43.0

3 years ago

0.41.0

3 years ago

0.42.0

3 years ago

0.42.1

3 years ago

0.38.0

3 years ago

0.40.0

3 years ago

0.39.0

3 years ago

0.36.3

3 years ago

0.36.2

3 years ago

0.36.1

3 years ago

0.36.0

3 years ago

0.37.0

3 years ago

0.35.1

3 years ago

0.35.0

3 years ago

0.34.2

3 years ago

0.34.1

3 years ago

0.34.0

3 years ago

0.34.0-beta.1

3 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.0

3 years ago

0.30.0

3 years ago

0.29.0

3 years ago

0.28.1

3 years ago

0.28.0

3 years ago

0.27.0

3 years ago

0.28.2

3 years ago

0.26.1

3 years ago

0.26.0

3 years ago

0.25.0

3 years ago

0.24.0

3 years ago

0.21.0

3 years ago

0.20.0

3 years ago

0.19.0

3 years ago

0.11.0

3 years ago

0.12.0

3 years ago

0.13.0

3 years ago

0.14.0

3 years ago

0.15.0

3 years ago

0.16.0

3 years ago

0.17.0

3 years ago

0.16.1

3 years ago

0.18.0

3 years ago

0.17.1

3 years ago

0.10.0

3 years ago

0.23.1

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.1

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago