@trayio/cdk-cli 0.0.3 → 0.0.5
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 +36 -29
- package/bin/dev +0 -0
- package/oclif.manifest.json +24 -3
- package/package.json +55 -53
package/README.md
CHANGED
|
@@ -21,13 +21,13 @@ A collection of CLI commands for connector development.
|
|
|
21
21
|
<!-- usage -->
|
|
22
22
|
```sh-session
|
|
23
23
|
$ npm install -g @trayio/cdk-cli
|
|
24
|
-
$ cdk COMMAND
|
|
24
|
+
$ tray-cdk COMMAND
|
|
25
25
|
running command...
|
|
26
|
-
$ cdk (--version|-v)
|
|
27
|
-
@trayio/cdk-cli/0.0.
|
|
28
|
-
$ cdk --help [COMMAND]
|
|
26
|
+
$ tray-cdk (--version|-v)
|
|
27
|
+
@trayio/cdk-cli/0.0.5 darwin-x64 node-v18.16.0
|
|
28
|
+
$ tray-cdk --help [COMMAND]
|
|
29
29
|
USAGE
|
|
30
|
-
$ cdk COMMAND
|
|
30
|
+
$ tray-cdk COMMAND
|
|
31
31
|
...
|
|
32
32
|
```
|
|
33
33
|
<!-- usagestop -->
|
|
@@ -35,27 +35,27 @@ USAGE
|
|
|
35
35
|
# Commands
|
|
36
36
|
|
|
37
37
|
<!-- commands -->
|
|
38
|
-
* [`cdk`](#cdk)
|
|
39
|
-
* [`cdk autocomplete [SHELL]`](#cdk-autocomplete-shell)
|
|
40
|
-
* [`cdk connector
|
|
41
|
-
* [`cdk connector
|
|
42
|
-
* [`cdk help [COMMANDS]`](#cdk-help-commands)
|
|
43
|
-
* [`cdk version`](#cdk-version)
|
|
38
|
+
* [`tray-cdk`](#tray-cdk)
|
|
39
|
+
* [`tray-cdk autocomplete [SHELL]`](#tray-cdk-autocomplete-shell)
|
|
40
|
+
* [`tray-cdk connector init [CONNECTORNAME]`](#tray-cdk-connector-init-connectorname)
|
|
41
|
+
* [`tray-cdk connector operation add [OPERATIONNAME] [OPERATIONTYPE]`](#tray-cdk-connector-operation-add-operationname-operationtype)
|
|
42
|
+
* [`tray-cdk help [COMMANDS]`](#tray-cdk-help-commands)
|
|
43
|
+
* [`tray-cdk version`](#tray-cdk-version)
|
|
44
44
|
|
|
45
|
-
## `cdk`
|
|
45
|
+
## `tray-cdk`
|
|
46
46
|
|
|
47
47
|
```
|
|
48
48
|
USAGE
|
|
49
|
-
$ cdk
|
|
49
|
+
$ tray-cdk
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
## `cdk autocomplete [SHELL]`
|
|
52
|
+
## `tray-cdk autocomplete [SHELL]`
|
|
53
53
|
|
|
54
54
|
display autocomplete installation instructions
|
|
55
55
|
|
|
56
56
|
```
|
|
57
57
|
USAGE
|
|
58
|
-
$ cdk autocomplete [SHELL] [-r]
|
|
58
|
+
$ tray-cdk autocomplete [SHELL] [-r]
|
|
59
59
|
|
|
60
60
|
ARGUMENTS
|
|
61
61
|
SHELL shell type
|
|
@@ -67,48 +67,55 @@ DESCRIPTION
|
|
|
67
67
|
display autocomplete installation instructions
|
|
68
68
|
|
|
69
69
|
EXAMPLES
|
|
70
|
-
$ cdk autocomplete
|
|
70
|
+
$ tray-cdk autocomplete
|
|
71
71
|
|
|
72
|
-
$ cdk autocomplete bash
|
|
72
|
+
$ tray-cdk autocomplete bash
|
|
73
73
|
|
|
74
|
-
$ cdk autocomplete zsh
|
|
74
|
+
$ tray-cdk autocomplete zsh
|
|
75
75
|
|
|
76
|
-
$ cdk autocomplete --refresh-cache
|
|
76
|
+
$ tray-cdk autocomplete --refresh-cache
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v2.1.9/src/commands/autocomplete/index.ts)_
|
|
80
80
|
|
|
81
|
-
## `cdk connector
|
|
81
|
+
## `tray-cdk connector init [CONNECTORNAME]`
|
|
82
82
|
|
|
83
83
|
Initialize a connector project
|
|
84
84
|
|
|
85
85
|
```
|
|
86
86
|
USAGE
|
|
87
|
-
$ cdk connector
|
|
87
|
+
$ tray-cdk connector init [CONNECTORNAME]
|
|
88
|
+
|
|
89
|
+
ARGUMENTS
|
|
90
|
+
CONNECTORNAME Connector directory name to generate template files
|
|
88
91
|
|
|
89
92
|
DESCRIPTION
|
|
90
93
|
Initialize a connector project
|
|
91
94
|
```
|
|
92
95
|
|
|
93
|
-
## `cdk connector
|
|
96
|
+
## `tray-cdk connector operation add [OPERATIONNAME] [OPERATIONTYPE]`
|
|
94
97
|
|
|
95
98
|
Add an operation to connector project
|
|
96
99
|
|
|
97
100
|
```
|
|
98
101
|
USAGE
|
|
99
|
-
$ cdk connector
|
|
102
|
+
$ tray-cdk connector operation add [OPERATIONNAME] [OPERATIONTYPE]
|
|
103
|
+
|
|
104
|
+
ARGUMENTS
|
|
105
|
+
OPERATIONNAME Operation name
|
|
106
|
+
OPERATIONTYPE (http|composite) Operation type
|
|
100
107
|
|
|
101
108
|
DESCRIPTION
|
|
102
109
|
Add an operation to connector project
|
|
103
110
|
```
|
|
104
111
|
|
|
105
|
-
## `cdk help [COMMANDS]`
|
|
112
|
+
## `tray-cdk help [COMMANDS]`
|
|
106
113
|
|
|
107
|
-
Display help for cdk.
|
|
114
|
+
Display help for tray-cdk.
|
|
108
115
|
|
|
109
116
|
```
|
|
110
117
|
USAGE
|
|
111
|
-
$ cdk help [COMMANDS] [-n]
|
|
118
|
+
$ tray-cdk help [COMMANDS] [-n]
|
|
112
119
|
|
|
113
120
|
ARGUMENTS
|
|
114
121
|
COMMANDS Command to show help for.
|
|
@@ -117,16 +124,16 @@ FLAGS
|
|
|
117
124
|
-n, --nested-commands Include all nested commands in the output.
|
|
118
125
|
|
|
119
126
|
DESCRIPTION
|
|
120
|
-
Display help for cdk.
|
|
127
|
+
Display help for tray-cdk.
|
|
121
128
|
```
|
|
122
129
|
|
|
123
130
|
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_
|
|
124
131
|
|
|
125
|
-
## `cdk version`
|
|
132
|
+
## `tray-cdk version`
|
|
126
133
|
|
|
127
134
|
```
|
|
128
135
|
USAGE
|
|
129
|
-
$ cdk version [--json] [--verbose]
|
|
136
|
+
$ tray-cdk version [--json] [--verbose]
|
|
130
137
|
|
|
131
138
|
FLAGS
|
|
132
139
|
--verbose Show additional information about the CLI.
|
package/bin/dev
CHANGED
|
File without changes
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.5",
|
|
3
3
|
"commands": {
|
|
4
4
|
".": {
|
|
5
5
|
"id": ".",
|
|
@@ -19,7 +19,13 @@
|
|
|
19
19
|
"pluginType": "core",
|
|
20
20
|
"aliases": [],
|
|
21
21
|
"flags": {},
|
|
22
|
-
"args": {
|
|
22
|
+
"args": {
|
|
23
|
+
"connectorName": {
|
|
24
|
+
"name": "connectorName",
|
|
25
|
+
"description": "Connector directory name to generate template files",
|
|
26
|
+
"required": false
|
|
27
|
+
}
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
"connector:operation:add": {
|
|
25
31
|
"id": "connector:operation:add",
|
|
@@ -30,7 +36,22 @@
|
|
|
30
36
|
"pluginType": "core",
|
|
31
37
|
"aliases": [],
|
|
32
38
|
"flags": {},
|
|
33
|
-
"args": {
|
|
39
|
+
"args": {
|
|
40
|
+
"operationName": {
|
|
41
|
+
"name": "operationName",
|
|
42
|
+
"description": "Operation name",
|
|
43
|
+
"required": false
|
|
44
|
+
},
|
|
45
|
+
"operationType": {
|
|
46
|
+
"name": "operationType",
|
|
47
|
+
"description": "Operation type",
|
|
48
|
+
"required": false,
|
|
49
|
+
"options": [
|
|
50
|
+
"http",
|
|
51
|
+
"composite"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
34
55
|
}
|
|
35
56
|
}
|
|
36
57
|
}
|
package/package.json
CHANGED
|
@@ -1,54 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
2
|
+
"name": "@trayio/cdk-cli",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"description": "A collection of CLI commands for connector development.",
|
|
5
|
+
"exports": {
|
|
6
|
+
"./*": "./dist/*.js"
|
|
7
|
+
},
|
|
8
|
+
"license": "Proprietary",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@oclif/core": "*",
|
|
11
|
+
"@oclif/plugin-autocomplete": "*",
|
|
12
|
+
"@oclif/plugin-help": "*",
|
|
13
|
+
"@oclif/plugin-version": "*",
|
|
14
|
+
"@oclif/test": "*",
|
|
15
|
+
"@trayio/tray-generator": "*",
|
|
16
|
+
"@types/inquirer": "8.2.6",
|
|
17
|
+
"chalk": "4.1.2",
|
|
18
|
+
"inquirer": "8.2.5"
|
|
19
|
+
},
|
|
20
|
+
"typesVersions": {
|
|
21
|
+
"*": {
|
|
22
|
+
"*": [
|
|
23
|
+
"*",
|
|
24
|
+
"dist/*"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"/bin",
|
|
30
|
+
"/dist",
|
|
31
|
+
"/oclif.manifest.json"
|
|
32
|
+
],
|
|
33
|
+
"bin": {
|
|
34
|
+
"tray-cdk": "./bin/run"
|
|
35
|
+
},
|
|
36
|
+
"oclif": {
|
|
37
|
+
"commands": "./dist",
|
|
38
|
+
"bin": "tray-cdk",
|
|
39
|
+
"topicSeparator": " ",
|
|
40
|
+
"plugins": [
|
|
41
|
+
"@oclif/plugin-help",
|
|
42
|
+
"@oclif/plugin-autocomplete",
|
|
43
|
+
"@oclif/plugin-version"
|
|
44
|
+
],
|
|
45
|
+
"additionalHelpFlags": [
|
|
46
|
+
"-h"
|
|
47
|
+
],
|
|
48
|
+
"additionalVersionFlags": [
|
|
49
|
+
"-v"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"oclif:clean": "rm -f oclif.manifest.json",
|
|
54
|
+
"postcompile": "oclif manifest && oclif readme"
|
|
55
|
+
}
|
|
56
|
+
}
|