@trayio/cdk-cli 0.0.3 → 0.0.6
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/dist/connector/connector-template.zip +0 -0
- package/dist/connector/init.d.ts +11 -0
- package/dist/connector/init.d.ts.map +1 -0
- package/dist/connector/init.js +61 -0
- package/dist/connector/operation/add.d.ts +12 -0
- package/dist/connector/operation/add.d.ts.map +1 -0
- package/dist/connector/operation/add.js +84 -0
- package/dist/connector/operation/composite-operation-template.zip +0 -0
- package/dist/connector/operation/http-operation-template.zip +0 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -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.6 linux-x64 node-v18.16.1
|
|
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
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Command } from '@oclif/core';
|
|
2
|
+
export declare const titleCase: (value: string) => string;
|
|
3
|
+
export declare const pascalCase: (value: string) => string;
|
|
4
|
+
export default class ConnectorInit extends Command {
|
|
5
|
+
static description: string;
|
|
6
|
+
static args: {
|
|
7
|
+
connectorName: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
|
|
8
|
+
};
|
|
9
|
+
run(): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=init.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/connector/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,aAAa,CAAC;AAc5C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MACQ,CAAC;AAEnD,eAAO,MAAM,UAAU,UAAW,MAAM,KAAG,MACd,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,OAAO;IACjD,MAAM,CAAC,WAAW,SAAoC;IAEtD,MAAM,CAAC,IAAI;;MAMT;IAEI,GAAG;CAyBT"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.pascalCase = exports.titleCase = void 0;
|
|
16
|
+
const core_1 = require("@oclif/core");
|
|
17
|
+
const inquirer_1 = __importDefault(require("inquirer"));
|
|
18
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
19
|
+
const NodeFsGenerator_1 = require("@trayio/tray-generator/generator/NodeFsGenerator");
|
|
20
|
+
const path_1 = require("path");
|
|
21
|
+
const lodash_1 = require("lodash");
|
|
22
|
+
// TODO add to try-common in ts-modules
|
|
23
|
+
const titleCase = (value) => (0, lodash_1.capitalize)((0, lodash_1.startCase)(value).replace(/_|-/g, ' '));
|
|
24
|
+
exports.titleCase = titleCase;
|
|
25
|
+
const pascalCase = (value) => (0, lodash_1.upperFirst)((0, lodash_1.camelCase)(value));
|
|
26
|
+
exports.pascalCase = pascalCase;
|
|
27
|
+
class ConnectorInit extends core_1.Command {
|
|
28
|
+
run() {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
const { args } = yield this.parse(ConnectorInit);
|
|
31
|
+
const promptRes = yield inquirer_1.default.prompt([
|
|
32
|
+
{
|
|
33
|
+
name: 'connectorName',
|
|
34
|
+
message: 'Connector directory name to generate template files',
|
|
35
|
+
type: 'input',
|
|
36
|
+
when: !args.connectorName,
|
|
37
|
+
default: 'my-connector',
|
|
38
|
+
},
|
|
39
|
+
]);
|
|
40
|
+
const connectorName = (0, lodash_1.kebabCase)(args.connectorName || promptRes.connectorName);
|
|
41
|
+
const connectorTitle = (0, exports.titleCase)(connectorName);
|
|
42
|
+
const rootDir = __dirname;
|
|
43
|
+
const templatePath = (0, path_1.join)(rootDir, 'connector-template.zip');
|
|
44
|
+
const generator = new NodeFsGenerator_1.NodeFsGenerator();
|
|
45
|
+
yield generator.generate(templatePath, process.cwd(), {
|
|
46
|
+
connectorName,
|
|
47
|
+
connectorTitle,
|
|
48
|
+
})();
|
|
49
|
+
this.log(chalk_1.default.bold(chalk_1.default.green(`Success! Added ${connectorName}`)));
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
ConnectorInit.description = 'Initialize a connector project';
|
|
54
|
+
ConnectorInit.args = {
|
|
55
|
+
connectorName: core_1.Args.string({
|
|
56
|
+
name: 'Connector directory name',
|
|
57
|
+
required: false,
|
|
58
|
+
description: 'Connector directory name to generate template files',
|
|
59
|
+
}),
|
|
60
|
+
};
|
|
61
|
+
exports.default = ConnectorInit;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Command } from '@oclif/core';
|
|
2
|
+
export declare const titleCase: (value: string) => string;
|
|
3
|
+
export declare const pascalCase: (value: string) => string;
|
|
4
|
+
export default class ConnectorOperationAdd extends Command {
|
|
5
|
+
static description: string;
|
|
6
|
+
static args: {
|
|
7
|
+
operationName: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
|
|
8
|
+
operationType: import("@oclif/core/lib/interfaces/parser").Arg<string | undefined, Record<string, unknown>>;
|
|
9
|
+
};
|
|
10
|
+
run(): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=add.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/connector/operation/add.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAQ,MAAM,aAAa,CAAC;AAc5C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MACQ,CAAC;AAEnD,eAAO,MAAM,UAAU,UAAW,MAAM,KAAG,MACd,CAAC;AAE9B,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,OAAO;IACzD,MAAM,CAAC,WAAW,SAA2C;IAE7D,MAAM,CAAC,IAAI;;;MAYT;IAEI,GAAG;CA6CT"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.pascalCase = exports.titleCase = void 0;
|
|
16
|
+
const core_1 = require("@oclif/core");
|
|
17
|
+
const inquirer_1 = __importDefault(require("inquirer"));
|
|
18
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
19
|
+
const NodeFsGenerator_1 = require("@trayio/tray-generator/generator/NodeFsGenerator");
|
|
20
|
+
const path_1 = require("path");
|
|
21
|
+
const lodash_1 = require("lodash");
|
|
22
|
+
// TODO add to try-common in ts-modules
|
|
23
|
+
const titleCase = (value) => (0, lodash_1.capitalize)((0, lodash_1.startCase)(value).replace(/_|-/g, ' '));
|
|
24
|
+
exports.titleCase = titleCase;
|
|
25
|
+
const pascalCase = (value) => (0, lodash_1.upperFirst)((0, lodash_1.camelCase)(value));
|
|
26
|
+
exports.pascalCase = pascalCase;
|
|
27
|
+
class ConnectorOperationAdd extends core_1.Command {
|
|
28
|
+
run() {
|
|
29
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30
|
+
const { args } = yield this.parse(ConnectorOperationAdd);
|
|
31
|
+
const promptRes = yield inquirer_1.default.prompt([
|
|
32
|
+
{
|
|
33
|
+
name: 'operationName',
|
|
34
|
+
message: 'Operation name',
|
|
35
|
+
type: 'input',
|
|
36
|
+
when: !args.operationName,
|
|
37
|
+
default: 'MyOperation',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'operationType',
|
|
41
|
+
message: 'Operation type',
|
|
42
|
+
type: 'list',
|
|
43
|
+
choices: [
|
|
44
|
+
{ name: 'HTTP', value: 'http' },
|
|
45
|
+
{ name: 'Composite', value: 'composite' },
|
|
46
|
+
],
|
|
47
|
+
when: !args.operationType,
|
|
48
|
+
default: 'http',
|
|
49
|
+
},
|
|
50
|
+
]);
|
|
51
|
+
const operationName = (0, exports.pascalCase)(args.operationName || promptRes.operationName);
|
|
52
|
+
const operationDirectory = (0, lodash_1.kebabCase)(operationName);
|
|
53
|
+
const operationTitle = (0, exports.titleCase)(operationName);
|
|
54
|
+
const operationType = args.operationType || promptRes.operationType;
|
|
55
|
+
const rootDir = __dirname;
|
|
56
|
+
const templatePath = operationType === 'http'
|
|
57
|
+
? (0, path_1.join)(rootDir, 'http-operation-template.zip')
|
|
58
|
+
: (0, path_1.join)(rootDir, 'composite-operation-template.zip');
|
|
59
|
+
const generator = new NodeFsGenerator_1.NodeFsGenerator();
|
|
60
|
+
// TODO should we check if we are inside the src dir?
|
|
61
|
+
yield generator.generate(templatePath, process.cwd(), {
|
|
62
|
+
operationName,
|
|
63
|
+
operationTitle,
|
|
64
|
+
operationDirectory,
|
|
65
|
+
})();
|
|
66
|
+
this.log(chalk_1.default.bold(chalk_1.default.green(`Success! Added operation: ${operationName}`)));
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
ConnectorOperationAdd.description = 'Add an operation to connector project';
|
|
71
|
+
ConnectorOperationAdd.args = {
|
|
72
|
+
operationName: core_1.Args.string({
|
|
73
|
+
name: 'Operation name',
|
|
74
|
+
required: false,
|
|
75
|
+
description: 'Operation name',
|
|
76
|
+
}),
|
|
77
|
+
operationType: core_1.Args.string({
|
|
78
|
+
name: 'Operation type',
|
|
79
|
+
required: false,
|
|
80
|
+
description: 'Operation type',
|
|
81
|
+
options: ['http', 'composite'],
|
|
82
|
+
}),
|
|
83
|
+
};
|
|
84
|
+
exports.default = ConnectorOperationAdd;
|
|
Binary file
|
|
Binary file
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.js
ADDED
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.6",
|
|
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.6",
|
|
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
|
+
}
|