@routr/ctl 2.0.17 → 2.0.24
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 +4 -5
- package/bin/dev +17 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +5 -0
- package/bin/run.cmd +3 -0
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
ctl
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Command-Line for Routr server
|
|
5
5
|
|
|
6
|
-
[](https://oclif.io)
|
|
7
7
|
[](https://npmjs.org/package/oclif-hello-world)
|
|
8
|
-
[](https://circleci.com/gh/oclif/hello-world/tree/main)
|
|
9
8
|
[](https://npmjs.org/package/oclif-hello-world)
|
|
10
9
|
[](https://github.com/oclif/hello-world/blob/main/package.json)
|
|
11
10
|
|
|
@@ -20,7 +19,7 @@ $ npm install -g @routr/ctl
|
|
|
20
19
|
$ rctl COMMAND
|
|
21
20
|
running command...
|
|
22
21
|
$ rctl (--version)
|
|
23
|
-
@routr/ctl/2.0.
|
|
22
|
+
@routr/ctl/2.0.24 linux-x64 node-v18.16.0
|
|
24
23
|
$ rctl --help [COMMAND]
|
|
25
24
|
USAGE
|
|
26
25
|
$ rctl COMMAND
|
package/bin/dev
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const oclif = require('@oclif/core')
|
|
4
|
+
|
|
5
|
+
const path = require('path')
|
|
6
|
+
const project = path.join(__dirname, '..', 'tsconfig.json')
|
|
7
|
+
|
|
8
|
+
// In dev mode -> use ts-node and dev plugins
|
|
9
|
+
process.env.NODE_ENV = 'development'
|
|
10
|
+
|
|
11
|
+
require('ts-node').register({project})
|
|
12
|
+
|
|
13
|
+
// In dev mode, always show stack traces
|
|
14
|
+
oclif.settings.debug = true;
|
|
15
|
+
|
|
16
|
+
// Start the CLI
|
|
17
|
+
oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
|
package/bin/dev.cmd
ADDED
package/bin/run
ADDED
package/bin/run.cmd
ADDED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/ctl",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.24",
|
|
4
4
|
"description": "Routr Command-Line Tool",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"bin": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@oclif/plugin-help": "^5",
|
|
26
26
|
"@oclif/plugin-plugins": "^2.1.12",
|
|
27
27
|
"@oclif/plugin-warn-if-update-available": "^2.0.19",
|
|
28
|
-
"@routr/common": "^2.0.
|
|
29
|
-
"@routr/sdk": "^2.0.
|
|
28
|
+
"@routr/common": "^2.0.20",
|
|
29
|
+
"@routr/sdk": "^2.0.20",
|
|
30
30
|
"figlet": "^1.5.2",
|
|
31
31
|
"fuzzy-search": "^3.2.1",
|
|
32
32
|
"inquirer": "^8.2.5",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"oclif"
|
|
89
89
|
],
|
|
90
90
|
"types": "dist/index.d.ts",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "7f6ef48694d07717f81d774449cc12cbfc8d4a74"
|
|
92
92
|
}
|