@routr/ctl 2.0.20 → 2.0.31

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 CHANGED
@@ -1,11 +1,10 @@
1
- oclif-hello-world
1
+ ctl
2
2
  =================
3
3
 
4
- oclif example Hello World CLI
4
+ Command-Line for Routr server
5
5
 
6
- [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
6
+ [![oclif](https://img.shields.io/badge/cli-rctl-brightgreen.svg)](https://oclif.io)
7
7
  [![Version](https://img.shields.io/npm/v/oclif-hello-world.svg)](https://npmjs.org/package/oclif-hello-world)
8
- [![CircleCI](https://circleci.com/gh/oclif/hello-world/tree/main.svg?style=shield)](https://circleci.com/gh/oclif/hello-world/tree/main)
9
8
  [![Downloads/week](https://img.shields.io/npm/dw/oclif-hello-world.svg)](https://npmjs.org/package/oclif-hello-world)
10
9
  [![License](https://img.shields.io/npm/l/oclif-hello-world.svg)](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.20 darwin-x64 node-v16.16.0
22
+ @routr/ctl/2.0.31 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
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\dev" %*
package/bin/run ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ const oclif = require('@oclif/core')
4
+
5
+ oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))
package/bin/run.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\run" %*
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.20",
2
+ "version": "2.0.31",
3
3
  "commands": {
4
4
  "acl:create": {
5
5
  "id": "acl:create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/ctl",
3
- "version": "2.0.20",
3
+ "version": "2.0.31",
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.20",
29
- "@routr/sdk": "^2.0.20",
28
+ "@routr/common": "^2.0.31",
29
+ "@routr/sdk": "^2.0.31",
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": "4e577fb7c461a6093bcaa33451872fb86c873e6e"
91
+ "gitHead": "bef1839e53701906f0739c8116639a1371f69173"
92
92
  }