@beauraines/rtm-cli 1.8.3 → 1.8.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/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/cli.js +1 -1
- package/src/cmd/url.js +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.8.5](https://github.com/beauraines/rtm-cli/compare/v1.8.4...v1.8.5) (2023-08-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* revert "Bump commander from 2.20.3 to 10.0.0" ([#61](https://github.com/beauraines/rtm-cli/issues/61)) ([1c7713f](https://github.com/beauraines/rtm-cli/commit/1c7713f7b00579927860a22f53d4f9cdfc20ae19)), closes [beauraines/rtm-cli#34](https://github.com/beauraines/rtm-cli/issues/34) [#58](https://github.com/beauraines/rtm-cli/issues/58) [#59](https://github.com/beauraines/rtm-cli/issues/59)
|
|
11
|
+
|
|
12
|
+
### [1.8.4](https://github.com/beauraines/rtm-cli/compare/v1.8.3...v1.8.4) (2023-08-03)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* Revert "not opening url links" ([#60](https://github.com/beauraines/rtm-cli/issues/60)) ([1ed0731](https://github.com/beauraines/rtm-cli/commit/1ed0731ed2dd08682b9dd486ddf89e5ac60cb2f7)), closes [beauraines/rtm-cli#58](https://github.com/beauraines/rtm-cli/issues/58)
|
|
18
|
+
|
|
5
19
|
### [1.8.3](https://github.com/beauraines/rtm-cli/compare/v1.8.2...v1.8.3) (2023-08-03)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beauraines/rtm-cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.5",
|
|
4
4
|
"description": "RTM CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rtm",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@beauraines/rtm-api": "^1.6.0",
|
|
40
40
|
"chalk": "^4.0.0",
|
|
41
41
|
"cli-table3": "^0.6.3",
|
|
42
|
-
"commander": "^
|
|
42
|
+
"commander": "^2.11.0",
|
|
43
43
|
"copy-paste": "^1.3.0",
|
|
44
44
|
"dateformat": "^4.0.0",
|
|
45
45
|
"debug": "^4.3.4",
|
package/src/cli.js
CHANGED
|
@@ -181,7 +181,7 @@ function parseCmd(command) {
|
|
|
181
181
|
let env = undefined;
|
|
182
182
|
for ( let i = 0; i < arguments.length; i++ ) {
|
|
183
183
|
let arg = arguments[i];
|
|
184
|
-
if ( typeof arg === 'object' && !Array.isArray(arg)
|
|
184
|
+
if ( typeof arg === 'object' && !Array.isArray(arg) ) {
|
|
185
185
|
env = arg;
|
|
186
186
|
}
|
|
187
187
|
else if ( Array.isArray(arg) && arg.length > 0 ) {
|
package/src/cmd/url.js
CHANGED
|
@@ -6,7 +6,6 @@ const finish = require('../utils/finish.js');
|
|
|
6
6
|
const filter = require('../utils/filter');
|
|
7
7
|
const { indexPrompt } = require('../utils/prompt')
|
|
8
8
|
const open = require('open');
|
|
9
|
-
const debug = require('debug')('rtm-cli-url');
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
let URLS = [];
|
|
@@ -25,7 +24,7 @@ async function action(args, env) {
|
|
|
25
24
|
|
|
26
25
|
// Set Open flag
|
|
27
26
|
OPEN = env.open === undefined ? false : env.open;
|
|
28
|
-
|
|
27
|
+
|
|
29
28
|
const user = config.user(user => user)
|
|
30
29
|
|
|
31
30
|
let indices = []
|
|
@@ -60,7 +59,6 @@ async function action(args, env) {
|
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
}
|
|
63
|
-
debug(URLS)
|
|
64
62
|
// Print URLs
|
|
65
63
|
log.spinner.stop();
|
|
66
64
|
for ( let i = 0; i < URLS.length; i++ ) {
|