3.2.4 • Published 1 month ago

@coveo/cli v3.2.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

@coveo/cli

oclif Version Codecov Downloads/week License

Usage

$ npm install -g @coveo/cli
$ coveo COMMAND
running command...
$ coveo (-v|--version|version)
@coveo/cli/1.17.1-alpha.1 win32-x64 node-v16.12.0
$ coveo --help [COMMAND]
USAGE
  $ coveo COMMAND
...

Commands

coveo auth:login

Log in to the Coveo Platform using the OAuth2 flow.

USAGE
  $ coveo auth:login

OPTIONS
  -e, --environment=dev|qa|hipaa|prod  [default: prod] The Coveo Platform environment to log in to.

  -o, --organization=myOrgID           The identifier of the organization to log in to. If not specified, the CLI logs
                                       you in to the first available organization. See also commands `config:get`,
                                       `config:set`, and `org:list`.

  -r, --region=US|EU|AU                [default: us] The Coveo Platform region to log in to. See
                                       <https://docs.coveo.com/en/2976>.

EXAMPLE
  $ coveo auth:login

See code: src/commands/auth/login.ts

coveo auth:token

Log in to the Coveo Platform using the OAuth2 flow.

USAGE
  $ coveo auth:token

OPTIONS
  -e, --environment=dev|qa|hipaa|prod  [default: prod] The Coveo Platform environment to log in to.

  -r, --region=US|EU|AU                [default: us] The Coveo Platform region to log in to. See
                                       <https://docs.coveo.com/en/2976>.

  -t, --token=xxx-api-key              (required) The API-Key that shall be used to authenticate you to the
                                       organization. See
                                       <https://github.com/coveo/cli/wiki/Using-the-CLI-using-an-API-Key>.

EXAMPLE
  $ coveo auth:token

See code: src/commands/auth/token.ts

coveo config:get

Display the current configuration.

USAGE
  $ coveo config:get

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

coveo config:set

Modify the current configuration.

USAGE
  $ coveo config:set

OPTIONS
  -a, --analytics=y|n                  Whether to enable analytics and telemetry tracking.
  -e, --environment=dev|qa|hipaa|prod  The Coveo Platform environment to log in to.

  -o, --organization=myOrgID           The identifier of the organization inside which to perform operations. See
                                       <https://docs.coveo.com/en/1562/#organization-id-and-other-information>.

  -r, --region=US|EU|AU                The Coveo Platform region to log in to. See <https://docs.coveo.com/en/2976>.

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

coveo help [COMMAND]

display help for coveo

USAGE
  $ coveo help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

coveo org:list

List Coveo organizations.

USAGE
  $ coveo org:list

OPTIONS
  -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/org/list.ts

coveo org:search:dump

Dump the content of one or more sources in CSV format.

USAGE
  $ coveo org:search:dump

OPTIONS
  -c, --chunkSize=chunkSize                [default: 10000] The maximum number of results to dump into each CSV file.

  -d, --destination=destination            [default: .] The folder in which to create the CSV files. The data dump will
                                           fail if the folder doesn't exist.

  -f, --additionalFilter=additionalFilter  The additional search filter to apply while getting the content. See
                                           <https://docs.coveo.com/en/1552>.

  -n, --name=name                          [default: indexdump] The base name to use when creating a new CSV file. If
                                           more than one file is created, the CLI will append `_2`, `_3`, etc. to each
                                           new file name after the first one.

  -p, --pipeline=pipeline                  The name of the query pipeline through which to get content. If not
                                           specified, the default query pipeline is used.

  -s, --source=mySourceName                (required) The names (not the identifiers) of the sources from which to get
                                           content.

  -x, --fieldsToExclude=fieldsToExclude    The fields to exclude from the data dump. If not specified, all fields are
                                           included.

See code: src/commands/org/search/dump.ts

coveo source:push:add SOURCEID

Push a JSON document into a Coveo Push source. See https://github.com/coveo/cli/wiki/Pushing-JSON-files-with-Coveo-CLI for more information.

USAGE
  $ coveo source:push:add SOURCEID

ARGUMENTS
  SOURCEID  The identifier of the source on which to perform the add operation. See source:push:list to obtain the
            identifier.

OPTIONS
  -d, --folder=./my_folder_with_multiple_json_files  One or multiple folder containing json files. Can be repeated
  -f, --file=myfile.json                             One or multiple file to push. Can be repeated.

See code: src/commands/source/push/add.ts

coveo source:push:delete SOURCEID

Delete one or multiple items in a given Push source. See https://docs.coveo.com/en/171 and https://docs.coveo.com/en/131

USAGE
  $ coveo source:push:delete SOURCEID

ARGUMENTS
  SOURCEID  The identifier of the Push source on which to perform the delete operation. To retrieve the list of
            available Push source identifiers, use the `source:push:list` command.

OPTIONS
  -c, --deleteChildren
      Whether to delete all items that share the same base URI as the specified item to delete.

  -d, --deleteOlderThan=2000-01-01T00:00:00-06:00 OR 946702800
      If this flag is set, all items that have been added or updated in the source before the specified ISO 8601 date or 
      Unix timestamp will be deleted. The documents will be deleted using the default queueDelay, meaning they will stay 
      in the index for about 15 minutes after being marked for deletion.

  -x, --delete=delete
      The URIs of the items to delete. Can be repeated. If you want to delete more than one specific items, use the 
      `source:push:batch` command instead.

See code: src/commands/source/push/delete.ts

coveo source:push:list

List all available push sources in your Coveo organization

USAGE
  $ coveo source:push:list

OPTIONS
  -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/source/push/list.ts

coveo source:push:new NAME

Create a new push source in a Coveo organization

USAGE
  $ coveo source:push:new NAME

ARGUMENTS
  NAME  The name of the source to create.

OPTIONS
  -v, --sourceVisibility=(PRIVATE|SECURED|SHARED)  [default: SECURED] Controls the content security option that should
                                                   be applied to the items in a source. See
                                                   https://docs.coveo.com/en/1779/index-content/content-security

See code: src/commands/source/push/new.ts

coveo ui:create:angular NAME

Create a Coveo Headless-powered search page with the Angular web framework. See https://docs.coveo.com/headless and https://angular.io/.

USAGE
  $ coveo ui:create:angular NAME

ARGUMENTS
  NAME  The name of the application to create.

OPTIONS
  -d, --defaults         Whether to automatically select the default value for all prompts that have a default value.
  -v, --version=version  [default: 1.17.0] The version of @coveo/angular to use.

See code: src/commands/ui/create/angular.ts

coveo ui:create:react NAME

Create a Coveo Headless-powered search page with the React web framework. See https://docs.coveo.com/headless and https://reactjs.org/.

USAGE
  $ coveo ui:create:react NAME

ARGUMENTS
  NAME  The name of the application to create.

OPTIONS
  -v, --version=version  [default: 1.17.0] Version of @coveo/cra-template to use.

EXAMPLES
  $ coveo ui:create:react myapp
  $ coveo ui:create:react --help

See code: src/commands/ui/create/react.ts

coveo ui:create:vue NAME

Create a Coveo Headless-powered search page with the Vue.js web framework. See https://docs.coveo.com/headless and https://vuejs.org/.

USAGE
  $ coveo ui:create:vue NAME

ARGUMENTS
  NAME  The name of the application to create.

OPTIONS
  -h, --help             show CLI help

  -p, --preset=path      The path to a JSON file with pre-defined options and plugins for creating a new project.
                         If not specified, the default TypeScript preset is used.
                         For more information about Vue CLI presets, see
                         https://cli.vuejs.org/guide/plugins-and-presets.html#presets.

  -v, --version=version  [default: 1.17.0] The version of @coveo/vue-cli-plugin-typescript to use.

EXAMPLES
  $ coveo ui:create:vue --preset path/to/my/preset.json
  $ coveo ui:create:vue --help

See code: src/commands/ui/create/vue.ts

coveo update [CHANNEL]

update the coveo CLI

USAGE
  $ coveo update [CHANNEL]

OPTIONS
  --from-local  interactively choose an already installed version

See code: @oclif/plugin-update

3.3.4-baguette.0

1 month ago

3.2.4

2 months ago

3.2.3

2 months ago

3.2.2

2 months ago

3.2.2-0

2 months ago

3.2.1

2 months ago

3.2.1-0

2 months ago

3.2.0

2 months ago

3.2.0-0

2 months ago

3.1.0-1

2 months ago

3.1.0-0

3 months ago

3.1.0

3 months ago

3.0.17-0

4 months ago

3.0.16

4 months ago

3.0.16-0

4 months ago

2.6.1-0

10 months ago

2.6.1-1

10 months ago

3.0.4

6 months ago

3.0.3

6 months ago

3.0.2

6 months ago

3.0.1

6 months ago

3.0.8

6 months ago

3.0.7

6 months ago

3.0.6

6 months ago

3.0.5

6 months ago

3.0.0

6 months ago

3.0.9

6 months ago

3.0.12

6 months ago

3.0.13

6 months ago

3.0.10

6 months ago

3.0.11

6 months ago

3.0.14

6 months ago

3.0.15

6 months ago

3.0.0-7

6 months ago

3.0.0-6

6 months ago

3.0.0-3

7 months ago

3.0.0-2

7 months ago

3.0.0-5

7 months ago

3.0.0-4

7 months ago

3.0.9-0

6 months ago

2.7.0-0

7 months ago

2.7.0-1

7 months ago

2.7.0-2

7 months ago

2.6.1

9 months ago

2.6.2

8 months ago

2.6.2-0

8 months ago

2.6.3-0

8 months ago

2.6.3-1

7 months ago

2.6.0-1

11 months ago

2.6.0-2

11 months ago

2.4.5-10

1 year ago

2.6.0-0

11 months ago

2.4.5-12

1 year ago

2.4.5-11

1 year ago

2.4.5-14

1 year ago

2.4.5-13

1 year ago

2.4.5-16

1 year ago

2.4.5-15

1 year ago

2.4.5-17

1 year ago

2.5.0-1

1 year ago

2.5.0-0

1 year ago

2.5.0-2

1 year ago

2.4.5-9

1 year ago

2.4.5-8

1 year ago

2.4.5-7

1 year ago

2.5.2-0

1 year ago

2.5.2-1

1 year ago

2.5.2-2

1 year ago

2.5.2-3

1 year ago

2.5.2-4

12 months ago

2.5.2-5

12 months ago

2.5.2-6

12 months ago

2.6.0

11 months ago

2.5.0

1 year ago

2.5.1

1 year ago

2.3.1-8

1 year ago

2.3.1-7

1 year ago

2.3.1-9

1 year ago

2.3.1-6

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.4.3

1 year ago

2.4.2

1 year ago

2.4.4

1 year ago

2.4.2-0

1 year ago

2.3.1-10

1 year ago

2.3.1-11

1 year ago

2.4.2-4

1 year ago

2.4.2-3

1 year ago

2.4.2-2

1 year ago

2.4.2-1

1 year ago

2.4.1-0

1 year ago

2.4.5-5

1 year ago

2.4.5-4

1 year ago

2.4.5-3

1 year ago

2.4.5-2

1 year ago

2.4.5-1

1 year ago

2.4.5-0

1 year ago

2.4.5-6

1 year ago

2.4.0-2

1 year ago

2.4.0-1

1 year ago

2.4.0-0

1 year ago

2.4.0-10

1 year ago

2.4.0-9

1 year ago

2.4.0-8

1 year ago

2.4.0-7

1 year ago

2.4.0-6

1 year ago

2.4.0-5

1 year ago

2.4.0-4

1 year ago

2.4.0-3

1 year ago

2.3.1-4

1 year ago

2.3.1-3

1 year ago

2.3.1-5

1 year ago

2.3.1-0

1 year ago

2.3.1-2

1 year ago

2.3.1-1

1 year ago

2.3.0-9

1 year ago

2.3.0-8

1 year ago

2.3.0-5

1 year ago

2.3.0-7

1 year ago

2.3.0-6

1 year ago

2.3.0

1 year ago

2.3.0-10

1 year ago

2.2.3-2

1 year ago

2.2.3-1

1 year ago

2.2.3-0

1 year ago

2.3.0-4

1 year ago

2.2.2-3

1 year ago

2.2.2-2

1 year ago

2.2.2-1

1 year ago

2.2.2-0

1 year ago

2.3.0-1

1 year ago

2.3.0-0

1 year ago

2.3.0-3

1 year ago

2.3.0-2

1 year ago

2.2.3

1 year ago

2.2.2

1 year ago

2.2.4-2

1 year ago

2.2.4-1

1 year ago

2.2.4-0

1 year ago

2.1.0-1

1 year ago

2.1.0-0

1 year ago

2.1.0-2

1 year ago

2.0.0

1 year ago

2.3.0-alpha.2

1 year ago

2.3.0-alpha.1

1 year ago

3.0.0-1

1 year ago

3.0.0-0

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.0.0-4

1 year ago

2.0.0-3

1 year ago

2.0.0-2

1 year ago

2.0.0-1

1 year ago

2.0.0-0

1 year ago

2.2.1-1

1 year ago

2.2.1-0

1 year ago

2.0.1-5

1 year ago

2.0.1-4

1 year ago

2.0.1-3

1 year ago

2.0.1-2

1 year ago

2.0.1-1

1 year ago

2.0.1-0

1 year ago

2.1.0

1 year ago

2.2.0-0

1 year ago

2.2.0-2

1 year ago

2.2.0-1

1 year ago

1.37.0

2 years ago

1.37.1

2 years ago

1.37.2

2 years ago

1.35.9

2 years ago

1.35.7

2 years ago

1.35.8

2 years ago

1.35.10

2 years ago

1.35.11

2 years ago

1.35.12

2 years ago

1.36.0

2 years ago

1.35.9-pre0

2 years ago

1.34.2

2 years ago

1.34.3

2 years ago

1.34.3-0

2 years ago

1.33.1

2 years ago

1.29.0-beta.0

2 years ago

1.29.0-beta.1

2 years ago

1.29.4

2 years ago

1.29.3

2 years ago

1.32.0

2 years ago

1.32.1

2 years ago

1.30.0

2 years ago

1.34.0

2 years ago

1.34.1

2 years ago

1.33.0

2 years ago

1.31.0

2 years ago

1.29.0

2 years ago

1.29.1

2 years ago

1.29.2

2 years ago

1.28.1

2 years ago

1.28.0

2 years ago

1.27.0

2 years ago

1.27.1

2 years ago

1.26.0

2 years ago

1.26.1

2 years ago

1.22.0

2 years ago

1.25.0

2 years ago

1.24.1

2 years ago

1.23.2

2 years ago

1.25.1

2 years ago

1.23.3

2 years ago

1.23.0

2 years ago

1.22.1

2 years ago

1.24.0

2 years ago

1.23.1

2 years ago

1.22.2

2 years ago

1.25.4

2 years ago

1.25.2

2 years ago

1.25.3

2 years ago

1.19.0

2 years ago

1.21.0

2 years ago

1.21.1

2 years ago

1.20.0

2 years ago

1.21.2

2 years ago

1.21.3

2 years ago

1.18.0

3 years ago

1.17.1-alpha.1

3 years ago

1.17.0

3 years ago

1.16.0

3 years ago

1.15.0

3 years ago

1.15.1

3 years ago

1.14.0

3 years ago

1.13.0

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago