@copado/copadodev-cli
v1.3.2
Published
[![Version](https://img.shields.io/npm/v/copadodev-cli.svg)](https://www.npmjs.com/package/copadodev-cli) [![Greenkeeper](https://badges.greenkeeper.io/anmolgkv/copadodev-cli.svg)](https://greenkeeper.io/) [![Known Vulnerabilities](https://snyk.io/test/gi
Downloads
72
Keywords
Readme
@copado/copadodev-cli
How to install
$ sfdx plugins:install @copado/copadodev-cli
Commands
copado:beta:extension:create
copado:beta:extension:prepack
copado:beta:function:create
copado:beta:function:delete
copado:beta:function:deploy
copado:beta:function:list
copado:beta:function:retrieve
copado:beta:template:create
copado:beta:template:delete
copado:beta:template:deploy
copado:beta:template:list
copado:beta:template:retrieve
copado:beta:extension:create
Create a Copado Extension manifest, a json file describing which templates and functions will be packaged by Salesforce
USAGE
$ sfdx copado:beta:extension:create -n <string> [-o] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-n, --name=<value>
(required) Extension name
-o, --overwrite
overwrite
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Create a Copado Extension manifest, a json file describing which templates and
functions will be packaged by Salesforce
EXAMPLES
$ sfdx copado:extension:create --name <Extension Name>
copado:beta:extension:prepack
Generate a static resource with all the templates and functions listed in the Copado Extension Manifest
USAGE
$ sfdx copado:beta:extension:prepack [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
-v, --validate
Runs validation check, will only display potential issues.
--json
format output as json
DESCRIPTION
Generate a static resource with all the templates and functions listed in the
Copado Extension Manifest
EXAMPLES
$ sfdx copado:extension:prepack
copado:beta:extension:validate
Runs validation check, will display potential issues in your package and/or the Copado Extension Manifest
USAGE
$ sfdx copado:beta:extension:validate [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Runs validation check, will display potential issues in your package and/or
the Copado Extension Manifest
EXAMPLES
$ sfdx copado:extension:validate
copado:beta:function:create
Create function
USAGE
$ sfdx copado:beta:function:create -n <string> [-i <string>] [--python | --node]
[--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-i, --image=<value>
Function image to use
-n, --name=<value>
(required) Function name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
--node
Use Node.js based runtime
--python
Use python based runtime
DESCRIPTION
Create function
EXAMPLES
$ sfdx copado:function:create --name <Function Name>
copado:beta:function:delete
Delete function
USAGE
$ sfdx copado:beta:function:delete -n <string> [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-n, --name=<value>
(required) Function name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Delete function
EXAMPLES
$ sfdx copado:beta:function:delete --name <Function Name>
copado:beta:function:deploy
Deploy function
USAGE
$ sfdx copado:beta:function:deploy -n <string> [-o] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-n, --name=<value>
(required) Function name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Deploy function
EXAMPLES
$ sfdx copado:function:deploy --name <Function Name>
copado:beta:function:list
List all available functions
USAGE
$ sfdx copado:beta:function:list [-a] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-a, --all
List both Custom and Standard Templates
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
List all available functions
EXAMPLES
$ sfdx copado:function:list
copado:beta:function:retrieve
Retrieve an individual function
USAGE
$ sfdx copado:beta:function:retrieve [-a | -n <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-a, --all
Retrieve all Functions from the authenticated Org
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
-n, --name=<value>
API Name
--json
format output as json
DESCRIPTION
Retrieve an individual function
EXAMPLES
$ sfdx copado:function:retrieve --name <Function Name>
copado:beta:template:create
Create template
USAGE
$ sfdx copado:beta:template:create -n <string> [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-n, --name=<value>
(required) Template name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Create template
EXAMPLES
$ sfdx copado:template:create --name <Template Name>
copado:beta:template:delete
Delete template
USAGE
$ sfdx copado:beta:template:delete -n <string> [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-n, --name=<value>
(required) Template name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Delete template
EXAMPLES
$ sfdx copado:beta:template:delete --name <Template Name>
copado:beta:template:deploy
Deploy job template
USAGE
$ sfdx copado:beta:template:deploy [-n <string>] [-c <integer>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-c, --chunks=<value>
[default: 10] Split step upload in chunks (default 10)
-n, --name=<value>
Job template name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Deploy job template
EXAMPLES
$ sfdx copado:template:deploy --name <Job Template Name>
copado:beta:template:list
List all available job templates
USAGE
$ sfdx copado:beta:template:list [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
List all available job templates
EXAMPLES
$ sfdx copado:templates:list
copado:beta:template:retrieve
Retrieve job template(s)
USAGE
$ sfdx copado:beta:template:retrieve [-a | -n <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-a, --all
Retrieve all Templates from the authenticated Org
-n, --name=<value>
Name
-u, --targetusername=<value>
A username or alias for the target org. Overrides the default target org.
--json
format output as json
DESCRIPTION
Retrieve job template(s)
EXAMPLES
$ sfdx copado:template:retrieve --name <Job Template Name>