@swsdk/plugin-connector
TypeScript icon, indicating that this package has built-in type declarations

5.0.1-next.0 • Public • Published

Integration Task CLI Plugin

Swimlane Logo

Version Downloads/week License

Usage

$ npm install -g @swsdk/plugin-connector
$ swsdk-connector COMMAND
running command...
$ swsdk-connector (--version)
@swsdk/plugin-connector/5.0.1-next.0+1eb2abb linux-x64 node-v16.15.0
$ swsdk-connector --help [COMMAND]
USAGE
  $ swsdk-connector COMMAND
...

Commands

swsdk-connector action:run

Generates 11x source from 10x. Will rewrite the entire connector directory and Dockerfile.

USAGE
  $ swsdk-connector action:run [-n <value>] [-d <value>] [-i <value>] [--latest] [--build] [--input-path
    <value>] [-h]

FLAGS
  -d, --directory=<value>  [default: ./] root directory of the repository.
  -h, --help               Show CLI help.
  -i, --image=<value>      image name to run. Defaults to LAST_CONNECTOR_BUILD environment variable stored from build
                           command.
  -n, --name=<value>       action name to run
  --build                  Rebuilds connector from source before running action if not image and latest.
  --input-path=<value>     Relative path to inputs JSON file, defaults to the task name under the data folder. ie:
                           data/my_task.json
  --latest                 Use the latest image. This flag overrides image flag

DESCRIPTION
  Generates 11x source from 10x. Will rewrite the entire connector directory and Dockerfile.

See code: lib/commands/action/run.js

swsdk-connector connector:build

Generates 11x source from 10x. Will rewrite the entire connector directory and Dockerfile.

USAGE
  $ swsdk-connector connector:build [-d <value>] [-h]

FLAGS
  -d, --directory=<value>  [default: ./] root directory of the repository.
  -h, --help               Show CLI help.

DESCRIPTION
  Generates 11x source from 10x. Will rewrite the entire connector directory and Dockerfile.

See code: lib/commands/connector/build.js

swsdk-connector connector:create-source

Generates 11x source from 10x or Open API Spec

USAGE
  $ swsdk-connector connector:create-source [-d <value>] [-h]

FLAGS
  -d, --directory=<value>  [default: ./] root directory of the repository.
  -h, --help               Show CLI help.

DESCRIPTION
  Generates 11x source from 10x or Open API Spec

See code: lib/commands/connector/create-source.js

Readme

Keywords

Package Sidebar

Install

npm i @swsdk/plugin-connector

Weekly Downloads

10

Version

5.0.1-next.0

License

ISC

Unpacked Size

22.8 kB

Total Files

16

Last publish

Collaborators

  • swimlane.dev
  • mr_charlie