@beauraines/rtm-cli 1.14.1 → 1.14.3
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 +7 -5
- package/src/interactive.js +2 -1
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.14.3](https://github.com/beauraines/rtm-cli/compare/v1.14.2...v1.14.3) (2026-02-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **deps:** bump minimatch ([#171](https://github.com/beauraines/rtm-cli/issues/171)) ([263f37d](https://github.com/beauraines/rtm-cli/commit/263f37dadd7619c64ecac2f5ee2af5c5d5bd0371))
|
|
11
|
+
|
|
12
|
+
### [1.14.2](https://github.com/beauraines/rtm-cli/compare/v1.14.1...v1.14.2) (2026-01-25)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **deps:** bump lodash from 4.17.21 to 4.17.23 ([#169](https://github.com/beauraines/rtm-cli/issues/169)) ([13da603](https://github.com/beauraines/rtm-cli/commit/13da603351410625cc7bf686f81e0fb2ae7f2c31)), closes [#6088](https://github.com/beauraines/rtm-cli/issues/6088) [#6071](https://github.com/beauraines/rtm-cli/issues/6071) [#6062](https://github.com/beauraines/rtm-cli/issues/6062) [#6056](https://github.com/beauraines/rtm-cli/issues/6056) [#6053](https://github.com/beauraines/rtm-cli/issues/6053) [#6052](https://github.com/beauraines/rtm-cli/issues/6052) [#6039](https://github.com/beauraines/rtm-cli/issues/6039) [#6023](https://github.com/beauraines/rtm-cli/issues/6023) [#5968](https://github.com/beauraines/rtm-cli/issues/5968)
|
|
18
|
+
|
|
5
19
|
### [1.14.1](https://github.com/beauraines/rtm-cli/compare/v1.14.0...v1.14.1) (2025-12-19)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beauraines/rtm-cli",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.3",
|
|
4
4
|
"description": "RTM CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rtm",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@beauraines/rtm-api": "^1.14.0",
|
|
40
40
|
"chalk": "^4.0.0",
|
|
41
41
|
"cli-table3": "^0.6.3",
|
|
42
|
-
"commander": "^
|
|
42
|
+
"commander": "^11.1.0",
|
|
43
43
|
"copy-paste": "^2.1.1",
|
|
44
44
|
"dateformat": "^4.0.0",
|
|
45
45
|
"debug": "^4.3.4",
|
package/src/cli.js
CHANGED
|
@@ -50,9 +50,9 @@ function setup() {
|
|
|
50
50
|
.option('-p, --plain', 'do not use styled/colored text (overrides --color)')
|
|
51
51
|
.option('-c, --color', 'force the use of styled/colored text')
|
|
52
52
|
.option('-s, --status', 'toggle the display of the status spinner')
|
|
53
|
-
.option('-x, --completed
|
|
54
|
-
.option('-d, --hideDue
|
|
55
|
-
.option('-f, --config
|
|
53
|
+
.option('-x, --completed <value>', 'set display of completed tasks (true/false/number of days)')
|
|
54
|
+
.option('-d, --hideDue <value>', 'hide tasks due more than n days from today (false/number of days)')
|
|
55
|
+
.option('-f, --config <file>', 'specify configuration file', function(file) {
|
|
56
56
|
config.reset(file);
|
|
57
57
|
parsePlugins();
|
|
58
58
|
parseAliases();
|
|
@@ -384,7 +384,8 @@ function parseAliases() {
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
// Parse the command
|
|
387
|
-
global._program.parse(args);
|
|
387
|
+
const parsed = global._program.parse(args);
|
|
388
|
+
const opts = parsed.opts();
|
|
388
389
|
|
|
389
390
|
});
|
|
390
391
|
|
|
@@ -416,7 +417,8 @@ function start() {
|
|
|
416
417
|
|
|
417
418
|
// Parse the process arguments
|
|
418
419
|
else {
|
|
419
|
-
program.parse(process.argv);
|
|
420
|
+
const parsed = program.parse(process.argv);
|
|
421
|
+
const opts = parsed.opts();
|
|
420
422
|
}
|
|
421
423
|
|
|
422
424
|
|
package/src/interactive.js
CHANGED
|
@@ -41,7 +41,8 @@ function prompt() {
|
|
|
41
41
|
|
|
42
42
|
// Parse the line command with commander
|
|
43
43
|
else if ( commands.indexOf(cmd) > -1 || aliases.indexOf(cmd) > -1 ) {
|
|
44
|
-
global._program.parse(params);
|
|
44
|
+
const parsed = global._program.parse(params);
|
|
45
|
+
const opts = parsed.opts();
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
// Nothing entered
|