@roarkanalytics/cli 0.1.1 → 0.2.0
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/commands.js +3 -3
- package/man/roark-metric-definition-create.1 +3 -3
- package/npm-shrinkwrap.json +54 -0
- package/package.json +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/commands.js
CHANGED
|
@@ -1756,15 +1756,15 @@ exports.COMMANDS = [
|
|
|
1756
1756
|
bodyVariants: [
|
|
1757
1757
|
{
|
|
1758
1758
|
name: 'PromptMetricInput',
|
|
1759
|
-
required: ['calculationType', 'name', 'outputType'
|
|
1759
|
+
required: ['calculationType', 'name', 'outputType'],
|
|
1760
1760
|
},
|
|
1761
1761
|
{
|
|
1762
1762
|
name: 'FormulaMetricInput',
|
|
1763
|
-
required: ['calculationType', 'name', 'outputType', 'formula', 'sources'
|
|
1763
|
+
required: ['calculationType', 'name', 'outputType', 'formula', 'sources'],
|
|
1764
1764
|
},
|
|
1765
1765
|
{
|
|
1766
1766
|
name: 'PatternMetricInput',
|
|
1767
|
-
required: ['calculationType', 'name', 'operation', 'outcome'
|
|
1767
|
+
required: ['calculationType', 'name', 'operation', 'outcome'],
|
|
1768
1768
|
},
|
|
1769
1769
|
],
|
|
1770
1770
|
acceptsBody: true,
|
|
@@ -13,13 +13,13 @@ POST /v1/metric/definitions
|
|
|
13
13
|
This endpoint accepts one of several request shapes, so the body is supplied as JSON through \e\-\e\-data or on standard input rather than as individual flags.
|
|
14
14
|
.TP
|
|
15
15
|
\fBPromptMetricInput\fR
|
|
16
|
-
Requires calculationType, name, outputType
|
|
16
|
+
Requires calculationType, name, outputType.
|
|
17
17
|
.TP
|
|
18
18
|
\fBFormulaMetricInput\fR
|
|
19
|
-
Requires calculationType, name, outputType, formula, sources
|
|
19
|
+
Requires calculationType, name, outputType, formula, sources.
|
|
20
20
|
.TP
|
|
21
21
|
\fBPatternMetricInput\fR
|
|
22
|
-
Requires calculationType, name, operation, outcome
|
|
22
|
+
Requires calculationType, name, operation, outcome.
|
|
23
23
|
.SH "GLOBAL OPTIONS"
|
|
24
24
|
.TP
|
|
25
25
|
\fB\-\-data\fR \fI<json>\fR
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@roarkanalytics/cli",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"lockfileVersion": 3,
|
|
5
|
+
"requires": true,
|
|
6
|
+
"packages": {
|
|
7
|
+
"": {
|
|
8
|
+
"name": "@roarkanalytics/cli",
|
|
9
|
+
"version": "0.2.0",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@roarkanalytics/sdk": "^3.2.0",
|
|
13
|
+
"commander": "^14.0.3",
|
|
14
|
+
"yaml": "^2.9.0"
|
|
15
|
+
},
|
|
16
|
+
"bin": {
|
|
17
|
+
"roark": "bin.js"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=20"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"node_modules/@roarkanalytics/sdk": {
|
|
24
|
+
"version": "3.2.0",
|
|
25
|
+
"resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-3.2.0.tgz",
|
|
26
|
+
"integrity": "sha512-dZm7nhil+zSvh1jGWOp12znFbn1HYx5SocvzrDS82ljPQUATVqyLkloc0ANft3pSb3SiaaNuWd/Z46z912lTxg==",
|
|
27
|
+
"license": "Apache-2.0"
|
|
28
|
+
},
|
|
29
|
+
"node_modules/commander": {
|
|
30
|
+
"version": "14.0.3",
|
|
31
|
+
"resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz",
|
|
32
|
+
"integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"node_modules/yaml": {
|
|
39
|
+
"version": "2.9.0",
|
|
40
|
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz",
|
|
41
|
+
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"bin": {
|
|
44
|
+
"yaml": "bin.mjs"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">= 14.6"
|
|
48
|
+
},
|
|
49
|
+
"funding": {
|
|
50
|
+
"url": "https://github.com/sponsors/eemeli"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roarkanalytics/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The official command line interface for the Roark API",
|
|
5
5
|
"author": "Roark <james@roark.ai>",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"fix": "eslint --fix ."
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@roarkanalytics/sdk": "^3.
|
|
33
|
+
"@roarkanalytics/sdk": "^3.2.0",
|
|
34
34
|
"commander": "^14.0.3",
|
|
35
35
|
"yaml": "^2.9.0"
|
|
36
36
|
},
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.2.0";
|
package/version.js
CHANGED
|
@@ -8,4 +8,4 @@ exports.version = void 0;
|
|
|
8
8
|
// It exists at all because the CLI is not in release-please-config.json's
|
|
9
9
|
// `extra-files` - it ships from publish-cli.yml rather than the vendor's
|
|
10
10
|
// release train - so nothing else keeps this in step.
|
|
11
|
-
exports.version = '0.
|
|
11
|
+
exports.version = '0.2.0';
|