na 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/lib/na/next_action.rb +2 -2
- data/lib/na/version.rb +1 -1
- data/src/README.md +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cc9bb0b48d32bab1e3ece2c1a9ab357dfde238e88a02ceeb5c5a172d4a6e747
|
4
|
+
data.tar.gz: 53300e826f4d4c56b30f846aa94039cb054d99c3d930709de419261409c4d9b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b16ed47431b61a853e03b44efd04c44909814e2bfbde897833f43f640a75a0932c2db14c9cbdfc25834d20bb5d4147ba10ebe84b137d9f6bcdda4266bb80d64d
|
7
|
+
data.tar.gz: 6f97489661677a3cd9fabfb01b1f99c39ff7b1e034d9936fdf1fa578c82fdbceb9c208c050d5e3b7a0bec956a3ea35534ba89c8764de85b41a2c9eceaf8bd207
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
### 1.2.3
|
2
|
+
|
3
|
+
2022-10-25 17:05
|
4
|
+
|
5
|
+
#### CHANGED
|
6
|
+
|
7
|
+
- Add a preceding dot to backup files created when updating to make backups hidden from notetaking apps and the like.
|
8
|
+
|
1
9
|
### 1.2.2
|
2
10
|
|
3
11
|
2022-10-25 14:30
|
@@ -10,7 +18,7 @@
|
|
10
18
|
#### NEW
|
11
19
|
|
12
20
|
- `--at [start|end]` switch for `add` and `update` to determine
|
13
|
-
- Global `--file PATH` flag to specify a single global todo file
|
21
|
+
- Global `--file PATH` flag to specify a single global todo file
|
14
22
|
- `--add_at [start|end]` global flag that can be added to config to make permanent
|
15
23
|
- `--finish` switch for `na add` to immediately mark an action as @done
|
16
24
|
- `--cwd_as [project|tag]` global flag when using a global `--file` to determine if the current working directory (last element) is added as an @tag or parent project
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
_If you're one of the rare people like me who find this useful, feel free to
|
10
10
|
[buy me some coffee][donate]._
|
11
11
|
|
12
|
-
The current version of `na` is 1.2.
|
12
|
+
The current version of `na` is 1.2.3
|
13
13
|
.
|
14
14
|
|
15
15
|
`na` ("next action") is a command line tool designed to make it easy to see what your next actions are for any project, right from the command line. It works with TaskPaper-formatted files (but any plain text format will do), looking for `@na` tags (or whatever you specify) in todo files in your current folder.
|
@@ -63,14 +63,14 @@ SYNOPSIS
|
|
63
63
|
na [global options] command [command options] [arguments...]
|
64
64
|
|
65
65
|
VERSION
|
66
|
-
1.2.
|
66
|
+
1.2.3
|
67
67
|
|
68
68
|
GLOBAL OPTIONS
|
69
69
|
-a, --[no-]add - Add a next action (deprecated, for backwards compatibility)
|
70
70
|
--add_at=POSITION - Add all new/moved entries at [s]tart or [e]nd of target project (default: end)
|
71
71
|
--cwd_as=TYPE - Use current working directory as [p]roject, [t]ag, or [n]one (default: none)
|
72
|
-
-d, --depth=DEPTH - Recurse to depth (default:
|
73
|
-
--[no-]debug - Display verbose output
|
72
|
+
-d, --depth=DEPTH - Recurse to depth (default: 3)
|
73
|
+
--[no-]debug - Display verbose output
|
74
74
|
--ext=EXT - File extension to consider a todo file (default: taskpaper)
|
75
75
|
-f, --file=PATH - Use a single file as global todo, use --initconfig to make permanent (default: none)
|
76
76
|
--help - Show this message
|
data/lib/na/next_action.rb
CHANGED
@@ -14,7 +14,7 @@ module NA
|
|
14
14
|
## @param debug [Boolean] only display message if running :verbose
|
15
15
|
##
|
16
16
|
def notify(msg, exit_code: false, debug: false)
|
17
|
-
return if debug &&
|
17
|
+
return if debug && NA.verbose
|
18
18
|
|
19
19
|
$stderr.puts NA::Color.template("{x}#{msg}{x}")
|
20
20
|
Process.exit exit_code if exit_code
|
@@ -751,7 +751,7 @@ module NA
|
|
751
751
|
## @param target [String] The file to back up
|
752
752
|
##
|
753
753
|
def backup_file(target)
|
754
|
-
FileUtils.cp(target, "
|
754
|
+
FileUtils.cp(target, ".#{target}~")
|
755
755
|
end
|
756
756
|
|
757
757
|
##
|
data/lib/na/version.rb
CHANGED
data/src/README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
_If you're one of the rare people like me who find this useful, feel free to
|
10
10
|
[buy me some coffee][donate]._
|
11
11
|
|
12
|
-
The current version of `na` is <!--VER-->1.2.
|
12
|
+
The current version of `na` is <!--VER-->1.2.2<!--END VER-->.
|
13
13
|
|
14
14
|
`na` ("next action") is a command line tool designed to make it easy to see what your next actions are for any project, right from the command line. It works with TaskPaper-formatted files (but any plain text format will do), looking for `@na` tags (or whatever you specify) in todo files in your current folder.
|
15
15
|
|