@swimlane/turbine-sdk 2.0.1-next.41 → 2.0.1-next.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -10
- package/oclif.manifest.json +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ $ npm install -g @swimlane/turbine-sdk
|
|
|
37
37
|
$ tsdk COMMAND
|
|
38
38
|
running command...
|
|
39
39
|
$ tsdk (--version|-v)
|
|
40
|
-
@swimlane/turbine-sdk/2.0.1-next.
|
|
40
|
+
@swimlane/turbine-sdk/2.0.1-next.44+e410fa1 linux-x64 node-v16.17.1
|
|
41
41
|
$ tsdk --help [COMMAND]
|
|
42
42
|
USAGE
|
|
43
43
|
$ tsdk COMMAND
|
|
@@ -47,9 +47,10 @@ USAGE
|
|
|
47
47
|
# Commands
|
|
48
48
|
<!-- commands -->
|
|
49
49
|
* [`tsdk action add`](#tsdk-action-add)
|
|
50
|
+
* [`tsdk action generate data`](#tsdk-action-generate-data)
|
|
50
51
|
* [`tsdk action input`](#tsdk-action-input)
|
|
51
52
|
* [`tsdk action output`](#tsdk-action-output)
|
|
52
|
-
* [`tsdk action run`](#tsdk-action-run)
|
|
53
|
+
* [`tsdk action run local`](#tsdk-action-run-local)
|
|
53
54
|
* [`tsdk asset add`](#tsdk-asset-add)
|
|
54
55
|
* [`tsdk autocomplete [SHELL]`](#tsdk-autocomplete-shell)
|
|
55
56
|
* [`tsdk commands`](#tsdk-commands)
|
|
@@ -96,6 +97,26 @@ DESCRIPTION
|
|
|
96
97
|
Update a connector action.
|
|
97
98
|
```
|
|
98
99
|
|
|
100
|
+
## `tsdk action generate data`
|
|
101
|
+
|
|
102
|
+
Use to test a task in an integration
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
USAGE
|
|
106
|
+
$ tsdk action generate data --asset <value> [-h] [-n <value>] [--inputs <value>] [-d <value>]
|
|
107
|
+
|
|
108
|
+
FLAGS
|
|
109
|
+
-d, --directory=<value> [default: ./] current directory to mount
|
|
110
|
+
-h, --help Show CLI help.
|
|
111
|
+
-n, --name=<value> task name to run
|
|
112
|
+
--asset=<value> (required) [default: data/asset.json] asset json
|
|
113
|
+
--inputs=<value> Filename for JSON inputs, defaults to the task name under the data folder. ie:
|
|
114
|
+
data/my_task.json
|
|
115
|
+
|
|
116
|
+
DESCRIPTION
|
|
117
|
+
Use to test a task in an integration
|
|
118
|
+
```
|
|
119
|
+
|
|
99
120
|
## `tsdk action input`
|
|
100
121
|
|
|
101
122
|
Update action input schema.
|
|
@@ -141,30 +162,26 @@ DESCRIPTION
|
|
|
141
162
|
Update a connector action.
|
|
142
163
|
```
|
|
143
164
|
|
|
144
|
-
## `tsdk action run`
|
|
165
|
+
## `tsdk action run local`
|
|
145
166
|
|
|
146
167
|
Runs a connector action. (Defaults to current image version in local repository).
|
|
147
168
|
|
|
148
169
|
```
|
|
149
170
|
USAGE
|
|
150
|
-
$ tsdk action run [-a <value>] [-d <value>] [--input-path <value>] [--output-path <value>] [--error-path
|
|
151
|
-
<value>] [--asset-path <value>] [
|
|
152
|
-
python_3.7|node_18|python_310_definition] [-f ] [-h]
|
|
171
|
+
$ tsdk action run local [-a <value>] [-d <value>] [--input-path <value>] [--output-path <value>] [--error-path
|
|
172
|
+
<value>] [--asset-path <value>] [--template python_3.7_swimlane|node_18|python_310_definition] [-f] [-h]
|
|
153
173
|
|
|
154
174
|
FLAGS
|
|
155
175
|
-a, --action=<value> Action name to run
|
|
156
176
|
-d, --directory=<value> [default: ./] Root directory of the repository.
|
|
157
177
|
-f, --force-rebuild forces nocache on the image build
|
|
158
178
|
-h, --help Show CLI help.
|
|
159
|
-
-i, --image=<value> The connector image to run.
|
|
160
179
|
--asset-path=<value> File to asset data JSON file, defaults to /data/asset.json
|
|
161
|
-
--build Builds image and runs it.
|
|
162
180
|
--error-path=<value> File to write the errors to, defaults to /data/<action>_error.json
|
|
163
181
|
--input-path=<value> File to input data JSON file, defaults to /data/<action>.json
|
|
164
|
-
--latest Use the latest release image from quay.
|
|
165
182
|
--output-path=<value> File to write the outputs to, defaults to /data/<action>_output.json
|
|
166
183
|
--template=<option> [default: python_310_definition] connector template
|
|
167
|
-
<options: python_3.
|
|
184
|
+
<options: python_3.7_swimlane|node_18|python_310_definition>
|
|
168
185
|
|
|
169
186
|
DESCRIPTION
|
|
170
187
|
Runs a connector action. (Defaults to current image version in local repository).
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.0.1-next.
|
|
1
|
+
{"version":"2.0.1-next.44+e410fa1","commands":{}}
|
package/package.json
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"@oclif/plugin-version": "1.0.4",
|
|
17
17
|
"@oclif/plugin-warn-if-update-available": "2.0.4",
|
|
18
18
|
"@oclif/plugin-which": "2.1.0",
|
|
19
|
-
"@sw-tsdk/core": "^2.0.1-next.
|
|
20
|
-
"@sw-tsdk/plugin-connector": "^2.0.1-next.
|
|
21
|
-
"@sw-tsdk/plugin-turbine": "^2.0.1-next.
|
|
19
|
+
"@sw-tsdk/core": "^2.0.1-next.44+e410fa1",
|
|
20
|
+
"@sw-tsdk/plugin-connector": "^2.0.1-next.44+e410fa1",
|
|
21
|
+
"@sw-tsdk/plugin-turbine": "^2.0.1-next.44+e410fa1",
|
|
22
22
|
"fs-extra": "10.0.1",
|
|
23
23
|
"inquirer": "8.2.2",
|
|
24
24
|
"npmlog": "6.0.1",
|
|
@@ -108,6 +108,6 @@
|
|
|
108
108
|
"dev:setup": "npm link"
|
|
109
109
|
},
|
|
110
110
|
"types": "lib/index.d.ts",
|
|
111
|
-
"version": "2.0.1-next.
|
|
112
|
-
"gitHead": "
|
|
111
|
+
"version": "2.0.1-next.44+e410fa1",
|
|
112
|
+
"gitHead": "e410fa11ed2857f3d01ccefc73fd791503ec5573"
|
|
113
113
|
}
|