5.0.1-next.0 • Published 2 years ago

@swsdk/plugin-connector v5.0.1-next.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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.1+2f23618 linux-x64 node-v16.15.0
$ swsdk-connector --help [COMMAND]
USAGE
  $ swsdk-connector COMMAND
...

Commands

swsdk-connector action:run

Runs a connector action.

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
  Runs a connector action.

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

swsdk-connector connector:build

Builds a local docker image of the connector.

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

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

DESCRIPTION
  Builds a local docker image of the connector.

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

swsdk-connector connector:create-source

Generates 11x source from 10x

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

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

swsdk-connector connector:update

Builds a local docker image of the connector.

USAGE
  $ swsdk-connector connector:update [-d <value>] [-v <value>] [-f <value>] [-h]

FLAGS
  -d, --directory=<value>          [default: ./connector] root directory of the connector folder.
  -f, --manifest-filename=<value>  [default: connector.yaml] connector manifest filename.
  -h, --help                       Show CLI help.
  -v, --version=<value>            new version of the connector.

DESCRIPTION
  Builds a local docker image of the connector.

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