DEPRECATED
This is no longer supported, please consider using the official Coveo CLI instead.
- DEPRECATED
Description
platformclient
CLI to coveo
CLI.
Moving from 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.
platformclient
CLI
with the platformclient download-fields [options] <origin>
coveo
CLI
with the 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
platformclient
CLI
with the platformclient diff-fields [options] <origin> <destination>
coveo
CLI
with the 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.
platformclient
CLI
with the platformclient diff-fields [options] <origin> <destination>
coveo
CLI
with the coveo org:resources:push --target <destination>
platformclient upload-
The platformclient upload-<resourceType>
commands can also be replaced with coveo org:resources:push
.