This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

coveo-platform-client

3.6.1 • Public • Published

DEPRECATED

No Maintenance Intended

This is no longer supported, please consider using the official Coveo CLI instead.

Description

⛔️ DEPRECATED This repository contains a command line tool to perform administrative tasks in the Coveo Cloud V2 Platform. It also allows the automation of tasks that previously had to be done manually, like graduating the configuration from organizations in a different stage (e.g.: DEV, UAT, PROD).

Moving from platformclient CLI to coveo CLI.

Authentication

Unlike the platformclient CLI, the Coveo CLI supports Oauth. This means, you no longer need to enter API keys on every commands. Instead, you only need to authenticate once to the Coveo platform and the CLI will keep you authenticated as long as your API key has not expired. Otherwise, you will be asked to authenticate again.

How to authenticate with the Coveo CLI

coveo auth:login --organization=<organizationId>

Download commands

The platformclient download-<resourceType> commands have been replaced with coveo org:resources:pull --resourceTypes <resourceTypes>. Unlike the platformclient CLI, the Coveo CLI can pull all the organization resources if the --resourceTypes flag is not specified. Once you have pulled your organization resources with the coveo org:resources:pull command, you can push them to any organization.

Example

How to pull/download all the fields available in your organization.

with the platformclient CLI
platformclient download-fields [options] <origin>
with the coveo CLI
coveo org:resources:pull --resourceTypes field

Diff commands

The platformclient diff-<resourceType> commands have been replaced with coveo org:resources:preview. Once you have pulled your resources with the coveo org:resources:pull command, you can preview the changes against any organization.

Example for previewing only one resource type

with the platformclient CLI
platformclient diff-fields [options] <origin> <destination>
with the coveo CLI
coveo org:resources:preview --target <destination>

Graduate commands

The platformclient graduate-<resourceType> commands have been replaced with coveo org:resources:push. Once you have pulled your resources with the coveo org:resources:pull command, you can push the changes to any organization.

with the platformclient CLI
platformclient diff-fields [options] <origin> <destination>
with the coveo CLI
coveo org:resources:push --target <destination>

platformclient upload-

The platformclient upload-<resourceType> commands can also be replaced with coveo org:resources:push.

Package Sidebar

Install

npm i coveo-platform-client

Weekly Downloads

2

Version

3.6.1

License

Apache-2.0

Unpacked Size

222 kB

Total Files

15

Last publish

Collaborators

  • ylakhdar