1.1.2 • Published 11 months ago

@zenginehq/handler-workspace-cli v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

@zenginehq-handler-workspace-cli

A CLI used to create a NextZen handler workspace.

The handler-workspace CLI can be installed via npm:

npm install -g @zenginehq/handler-workspace-cli@latest

You can check the version installed with:

handler-workspace --version

You can display it's usage with:

handler-workspace --help

which would yield:

handler-workspace <command>

Commands:
  handler-workspace create <folder>  Create a new handler workspace
                                                               [aliases: g, gen]

Options:
  --help     Show help                                                 [boolean]
  --version  Show version                                              [boolean]

So to initialize a new handlers workspace, use:

cd ~/parent_folder
handler-workspace create handlers

which would prompt for your portal URL:

? Enter portal URL (including subdomain) › https://your-subdomain.portals.wizehive.app

and then prompt for OAuth client Id:

? Enter your OAuth API client Id ›

and then prompt for OAuth client secret:

? Enter your OAuth API client secret ›

which would create the following:

~/parent_folder/handlers

README.md
decision/
dist/
eslint.config.mjs
event/
http/
jest.config.js
package.json
score/
tsconfig.json
workspace.json

Run npm install to prepare the workspace:

cd ~/parent_folder/handlers
npm install

Install @zenginehq/handler-cli for generating and managing individual handlers within the workspace.

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago