1.17.5 • Published 16 days ago

zcatalyst-cli v1.17.5

Weekly downloads
72
License
MIT
Repository
-
Last release
16 days ago

catalyst npm NPM

This is the Catalyst Command Line Interface (CLI) Tool. They can be used to:

  • Initialize your project and associate it with various components
  • Create and manage your projects
  • Interact with data in your Catalyst projects via console
  • Deploy code and assets to your Catalyst projects

To get started with the Catalyst CLI, you can go through our documentation CLI documentation.

Installation

To install the Catalyst CLI, you first need to Sign Up to ZOHO.

Then you need to install Node.js and npm.


NOTE

  1. Installing Node.js should install npm as well.
  2. The ZCatalyst-CLI is compatible only with node versions >=12.

Once npm is installed, you can get Catalyst CLI via following command:

npm install -g zcatalyst-cli

This will provide you with the globally accessible catalyst command.


NOTE

  1. If you need to setup the cli in current directory alone use the same command without -g option.

  2. Alternatively you can visit CLI Installation Documentation for installation instructions.


Commands

The command catalyst --help lists all the available commands and catalyst <command> --help shows more details for provided command (if exists).

Certain command are project specific and for it to work you must be inside a project directory or you can simply specify the project id via -p <project_id> option.

List of the available commands

CommandDescription
loginLog the CLI in to your Catalyst account. Requires access to a web browser.
whoamiPrint the email address of the user currently logged in.
token:generateGenerate a token to authenticate accessing the CLI from a remote system.
token:revokeRevoke a token generated in this CLI.
token:listList all the available tokens generated in this CLI.
project:listList all the Catalyst projects you have access to.
project:useSet an active Catalyst project for your working directory.
project:resetClear an active project selection and reset to the base project.
initInitialize a Catalyst project, function, and client resources in the local directory.
pullPull resources of your project from the remote console to the local directory.
iac:packCreates a import ready zip file.
iac:importDeploy the iac zip file to console and create a new project with it.
iac:exportCreate a zip file out of existing project in console.
iac:statusDisplays the status of iac schedule progress.
apig:statusObtain the current status of API Gateway for your project and the schedule progress.
apig:enableEnable API Gateway for your project. In both Console and Local.
apig:disableDisable API Gateway for your project. In both Console and Local.
ds:importBulk write records to a table in the Catalyst Data Store.
ds:exportBulk read records from a table in the Catalyst Data Store.
ds:statusDisplay the job status of a Data Store import or export operation.
client:setupSet up and configure the client directory in your project directory.
client:deleteDelete a version of the client from the remote console or the local directory.
functions:setupSet up and configure the function directory in your project directory.
functions:addAdd a function of the required stack to the function directory.
functions:shellLaunch a node shell to test emulated functions of any stack or type, other than Advanced I/O functions.
functions:configPerform advanced configurations such as memory allocation on a function in your project.
functions:deleteDelete a function from the remote console or the local directory.
appsail:addLink an already existing AppSail service to Catalyst Project.
codelib:installInstall the code library functionalities into your project.
event:generate | generate:eventGenerate sample payloads from different components or custom event sources to test Event functions.
event:generate:integGenerate sample payloads for the required integration service to test Integration functions.
serveServe Basic I/O and Advanced I/O functions, and the client, to test them locally.
deployDeploy the Catalyst project and project resources to the remote console from the local directory.
helpDisplay the command reference or help for a specific command.
run-script | runRun a particular command script defined in catalyst.json.
config:setSet catalyst configuration as a key value pair.
config:getGet catalyst config value for the specified key.
config:deleteDelete a key from catalyst config.
config:listList all your catalyst configurations.
logoutLog the CLI out of your Catalyst account.

Migration

Migration will run for every new version of CLI when executing a command with proper scopes.

This is to make sure your local project is upto date with the CLI version that is updated.

v1.4.0

  • Global configuration file (zcatalyst-cli-nodejs/zcatalyst-cli.json) structure change.
1.17.5

16 days ago

1.17.4

1 month ago

1.17.3

2 months ago

1.17.2

4 months ago

1.17.1

4 months ago

1.17.0

4 months ago

1.16.2

6 months ago

1.15.0

9 months ago

1.15.2

8 months ago

1.15.1

9 months ago

1.15.0-beta.5

10 months ago

1.15.0-beta.6

9 months ago

1.15.0-beta.7

9 months ago

1.16.1

6 months ago

1.16.0

7 months ago

1.14.1

1 year ago

1.14.0

1 year ago

1.15.0-beta.0

1 year ago

1.15.0-beta.1

12 months ago

1.15.0-beta.2

12 months ago

1.15.0-beta.3

12 months ago

1.15.0-beta.4

11 months ago

1.13.2

2 years ago

1.13.3

2 years ago

1.13.1

2 years ago

1.13.0

2 years ago

1.12.1

2 years ago

1.12.0

2 years ago

1.11.1

2 years ago

1.11.0

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.9.1

3 years ago

1.9.0

3 years ago

1.8.2

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.2

3 years ago

1.5.1

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

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

5 years ago

0.2.9

5 years ago

0.2.9-rc1

5 years ago

0.2.9-rc.v1

5 years ago

0.2.9-rc.1

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0-t.v1

5 years ago

0.2.0-t.1

5 years ago

0.2.0

5 years ago

0.2.0-rc.1

5 years ago

0.2.0-alpha.v1

5 years ago

0.2.0-alpha.2

5 years ago

0.2.0-alpha.1

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.0.0

6 years ago