1.1.2 • Published 9 months ago

@zenginehq/handler-workspace-cli v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
9 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

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.19

9 months ago

1.0.18

9 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago