ateam-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.20 • Public • Published

A-Team CLI

A-Team CLI

Usage

$ npm install -g ateam-cli
$ ateam-cli COMMAND
running command...
$ ateam-cli (--version)
ateam-cli/1.0.20 linux-x64 node-v18.18.2
$ ateam-cli --help [COMMAND]
USAGE
  $ ateam-cli COMMAND
...

Commands

ateam-cli ateam-services copy-mongodb

Copy MongoDB

USAGE
  $ ateam-cli ateam-services copy-mongodb --fromName <value> --toName <value> [--json] [--log-level debug|info|warn|error]
    [--fromUri <value>] [--database <value>] [--collection <value>] [--toUri <value>] [--toDatabase <value>] [-o
    <value>]

FLAGS
  -o, --outDir=<value>  The path were the exported collections will be saved
  --collection=<value>  MongoDB collections to copy
  --database=<value>    MongoDB database to copy
  --fromName=<value>    (required) MongoDB short name to copy from
  --fromUri=<value>     MongoDB URI to copy from
  --toDatabase=<value>  MongoDB database to copy to
  --toName=<value>      (required) MongoDB short name to copy to
  --toUri=<value>       MongoDB URI to copy to

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Copy MongoDB

EXAMPLES
  $ ateam-cli ateam-services copy-mongodb --fromName=local1 --toName=local2

  $ ateam-cli ateam-services copy-mongodb --fromName=local1 --toName=local2 --fromUri=mongodb://0.0.0.0:27017 --database=test --collection=test-collection1 --toUri=mongodb://0.0.0.0:27017 --outDir=./test-output

See code: src/commands/ateam-services/copy-mongodb.ts

ateam-cli ateam-services export-mongodb

Export MongoDB

USAGE
  $ ateam-cli ateam-services export-mongodb --fromName <value> [--json] [--log-level debug|info|warn|error] [--fromUri <value>]
    [--database <value>] [--collection <value>] [-o <value>]

FLAGS
  -o, --outDir=<value>  The path were the exported collections will be saved
  --collection=<value>  MongoDB collections to copy
  --database=<value>    MongoDB database to copy
  --fromName=<value>    (required) MongoDB short name to export from
  --fromUri=<value>     MongoDB URI to export from

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Export MongoDB

EXAMPLES
  $ ateam-cli ateam-services export-mongodb

  $ ateam-cli ateam-services export-mongodb --json

  $ ateam-cli ateam-services export-mongodb --log-level debug

See code: src/commands/ateam-services/export-mongodb.ts

ateam-cli ateam-services import-mongodb

Import MongoDB

USAGE
  $ ateam-cli ateam-services import-mongodb --toName <value> [--json] [--log-level debug|info|warn|error] [--toUri
  <value>]

FLAGS
  --toName=<value>  (required) MongoDB short name to import to
  --toUri=<value>   MongoDB URI to import to

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Import MongoDB

EXAMPLES
  $ ateam-cli ateam-services import-mongodb

  $ ateam-cli ateam-services import-mongodb --json

  $ ateam-cli ateam-services import-mongodb --log-level debug

See code: src/commands/ateam-services/import-mongodb.ts

ateam-cli ateam-services test-data-mongodb

Generate test data for Mongodb

USAGE
  $ ateam-cli ateam-services test-data-mongodb [--json] [--log-level debug|info|warn|error] [--uri <value>] [-d test-db] [-c
    test-collection]

FLAGS
  -c, --collection=<option>  collection
                             <options: test-collection>
  -d, --database=<option>    database
                             <options: test-db>
  --uri=<value>              Mongodb URI

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Generate test data for Mongodb

EXAMPLES
  $ ateam-cli ateam-services test-data-mongodb -d test-db -i test-collection

See code: src/commands/ateam-services/test-data-mongodb.ts

ateam-cli commands

list all the commands

USAGE
  $ ateam-cli commands [--json] [-h] [--hidden] [--tree] [--columns <value> | -x] [--filter <value>]
    [--no-header | [--csv | --no-truncate]] [--output csv|json|yaml |  | ] [--sort <value>]

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

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  list all the commands

See code: @oclif/plugin-commands

ateam-cli help [COMMANDS]

Display help for ateam-cli.

USAGE
  $ ateam-cli help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

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

DESCRIPTION
  Display help for ateam-cli.

See code: @oclif/plugin-help

ateam-cli plugins

List installed plugins.

USAGE
  $ ateam-cli plugins [--json] [--core]

FLAGS
  --core  Show core plugins.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ ateam-cli plugins

See code: @oclif/plugin-plugins

ateam-cli plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ ateam-cli plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -s, --silent   Silences yarn output.
  -v, --verbose  Show verbose yarn output.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Installs a plugin into the CLI.
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
  the CLI without the need to patch and update the whole CLI.


ALIASES
  $ ateam-cli plugins add

EXAMPLES
  $ ateam-cli plugins add myplugin 

  $ ateam-cli plugins add https://github.com/someuser/someplugin

  $ ateam-cli plugins add someuser/someplugin

ateam-cli plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ ateam-cli plugins:inspect PLUGIN...

ARGUMENTS
  PLUGIN  [default: .] Plugin to inspect.

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Displays installation properties of a plugin.

EXAMPLES
  $ ateam-cli plugins inspect myplugin

See code: @oclif/plugin-plugins

ateam-cli plugins:install PLUGIN...

Installs a plugin into the CLI.

USAGE
  $ ateam-cli plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  Plugin to install.

FLAGS
  -f, --force    Run yarn install with force flag.
  -h, --help     Show CLI help.
  -s, --silent   Silences yarn output.
  -v, --verbose  Show verbose yarn output.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Installs a plugin into the CLI.
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
  the CLI without the need to patch and update the whole CLI.


ALIASES
  $ ateam-cli plugins add

EXAMPLES
  $ ateam-cli plugins install myplugin 

  $ ateam-cli plugins install https://github.com/someuser/someplugin

  $ ateam-cli plugins install someuser/someplugin

See code: @oclif/plugin-plugins

ateam-cli plugins:link PLUGIN

Links a plugin into the CLI for development.

USAGE
  $ ateam-cli plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

FLAGS
  -h, --help      Show CLI help.
  -v, --verbose
  --[no-]install  Install dependencies after linking the plugin.

DESCRIPTION
  Links a plugin into the CLI for development.
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
  command will override the user-installed or core plugin implementation. This is useful for development work.


EXAMPLES
  $ ateam-cli plugins link myplugin

See code: @oclif/plugin-plugins

ateam-cli plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ ateam-cli plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ ateam-cli plugins unlink
  $ ateam-cli plugins remove

EXAMPLES
  $ ateam-cli plugins remove myplugin

ateam-cli plugins reset

Remove all user-installed and linked plugins.

USAGE
  $ ateam-cli plugins reset

See code: @oclif/plugin-plugins

ateam-cli plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ ateam-cli plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ ateam-cli plugins unlink
  $ ateam-cli plugins remove

EXAMPLES
  $ ateam-cli plugins uninstall myplugin

See code: @oclif/plugin-plugins

ateam-cli plugins:uninstall PLUGIN...

Removes a plugin from the CLI.

USAGE
  $ ateam-cli plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Removes a plugin from the CLI.

ALIASES
  $ ateam-cli plugins unlink
  $ ateam-cli plugins remove

EXAMPLES
  $ ateam-cli plugins unlink myplugin

ateam-cli plugins update

Update installed plugins.

USAGE
  $ ateam-cli plugins update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

See code: @oclif/plugin-plugins

ateam-cli search-service copy-elasticsearch

Copy Elasticsearch

USAGE
  $ ateam-cli search-service copy-elasticsearch --fromName <value> --toName <value> [--json] [--log-level debug|info|warn|error]
    [--fromUri <value>] [--toUri <value>] [--index <value>]

FLAGS
  --fromName=<value>  (required) ElasticSearch short name to copy from
  --fromUri=<value>   ElasticSearch URI to copy from
  --index=<value>     ElasticSearch indices to copy
  --toName=<value>    (required) ElasticSearch short name to copy to
  --toUri=<value>     ElasticSearch URI to copy to

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Copy Elasticsearch

EXAMPLES
  $ ateam-cli search-service copy-elasticsearch --fromName=ateam-sandbox --toName=local

See code: src/commands/search-service/copy-elasticsearch.ts

ateam-cli search-service migrate-elasticsearch-index

Migrate Elasticsearch Index

USAGE
  $ ateam-cli search-service migrate-elasticsearch-index [--json] [--log-level debug|info|warn|error] [-e local|production|sandbox] [--uri
    <value>] [-i test-v1|talent-skills-v1|talents-industries-v1|users-v2|missions-v1] [--indexPrefix <value>]

FLAGS
  -e, --env=<option>     environment
                         <options: local|production|sandbox>
  -i, --index=<option>   index
                         <options: test-v1|talent-skills-v1|talents-industries-v1|users-v2|missions-v1>
  --indexPrefix=<value>  index prefix
  --uri=<value>          ElasticSearch URI to copy from

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Migrate Elasticsearch Index

EXAMPLES
  $ ateam-cli search-service migrate-elasticsearch-index

  $ ateam-cli search-service migrate-elasticsearch-index --json

  $ ateam-cli search-service migrate-elasticsearch-index --log-level debug

See code: src/commands/search-service/migrate-elasticsearch-index.ts

ateam-cli search-service test-data-elasticsearch

Generate test data for Elasticsearch

USAGE
  $ ateam-cli search-service test-data-elasticsearch [--json] [--log-level debug|info|warn|error] [--uri <value>]
  [--index <value>]

FLAGS
  --index=<value>  index name with prefix
  --uri=<value>    ElasticSearch URI

GLOBAL FLAGS
  --json                Format output as json.
  --log-level=<option>  Specify level for logging.
                        <options: debug|info|warn|error>

DESCRIPTION
  Generate test data for Elasticsearch

EXAMPLES
  $ ateam-cli search-service test-data-elasticsearch -i test-v1

See code: src/commands/search-service/test-data-elasticsearch.ts

ateam-cli update [CHANNEL]

update the ateam-cli CLI

USAGE
  $ ateam-cli update [CHANNEL] [-a] [--force] [-i | -v <value>]

FLAGS
  -a, --available        See available versions.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
  --force                Force a re-download of the requested version.

DESCRIPTION
  update the ateam-cli CLI

EXAMPLES
  Update to the stable channel:

    $ ateam-cli update stable

  Update to a specific version:

    $ ateam-cli update --version 1.0.0

  Interactively select version:

    $ ateam-cli update --interactive

  See available versions:

    $ ateam-cli update --available

See code: @oclif/plugin-update

ateam-cli which

Show which plugin a command is in.

USAGE
  $ ateam-cli which

DESCRIPTION
  Show which plugin a command is in.

EXAMPLES
  See which plugin the `help` command is in:

    $ ateam-cli which help

See code: @oclif/plugin-which

ateam-cli ateam-services dump-mongodb

Dump MongoDB

USAGE
  $ ateam-cli hello PERSON -f <value>

ARGUMENTS
  PERSON  Person to say hello to

FLAGS
  -f, --from=<value>  (required) Who is saying hello

DESCRIPTION
  Say hello

EXAMPLES
  $ oex hello friend --from oclif
  hello friend from oclif! (./src/commands/hello/index.ts)

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

ateam-cli search-service dump-elasticsearch

Dump ElasticSearch

USAGE
  $ ateam-cli hello world

DESCRIPTION
  Say hello world

EXAMPLES
  $ ateam-cli hello world
  hello world! (./src/commands/hello/world.ts)

See code: @oclif/plugin-help

ateam-cli help [COMMANDS]

Display help for ateam-cli.

USAGE
  $ ateam-cli help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

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

DESCRIPTION
  Display help for ateam-cli.

See code: @oclif/plugin-help

Readme

Keywords

none

Package Sidebar

Install

npm i ateam-cli

Weekly Downloads

0

Version

1.0.20

License

UNLICENSED

Unpacked Size

214 kB

Total Files

115

Last publish

Collaborators

  • a_team