na 1.2.82 → 1.2.83
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +1 -1
- data/README.md +5 -5
- data/bin/commands/next.rb +1 -1
- data/lib/na/next_action.rb +1 -0
- data/lib/na/version.rb +1 -1
- data/src/_README.md +4 -4
- 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: 345970813fdbd36c16fc2dbe64d170039644939543828e9447d16703ed81eb1d
|
|
4
|
+
data.tar.gz: d5a1f454a83ba7b5ab3072ba69a9b8ebb3f8cfc38165ae6c8433cef9c6183b9d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86f9e53d24bbcae8ae97b890adb2e59a92cfba2887ac3a6851fa6fd41de677bd33ee410c52958b3d1ee26457b722f74fc3dbaef7ba001162d08a4fd9cfe5e8df
|
|
7
|
+
data.tar.gz: a45b00b9b87e6244e6b9cc9c732f47706457763e083d89f2fe54596ac4e6fb18e3305a3670514b030e723d882059eff8b150a7bf86697c70ca6ef501426a787d
|
data/CHANGELOG.md
CHANGED
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.83.
|
|
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
|
|
|
@@ -76,7 +76,7 @@ SYNOPSIS
|
|
|
76
76
|
na [global options] command [command options] [arguments...]
|
|
77
77
|
|
|
78
78
|
VERSION
|
|
79
|
-
1.2.
|
|
79
|
+
1.2.83
|
|
80
80
|
|
|
81
81
|
GLOBAL OPTIONS
|
|
82
82
|
-a, --add - Add a next action (deprecated, for backwards compatibility)
|
|
@@ -551,12 +551,12 @@ This command will perform actions (tag, untag, complete, archive, add note, etc.
|
|
|
551
551
|
|
|
552
552
|
You can specify a particular todo file using `--file PATH` or any todo from history using `--in QUERY`.
|
|
553
553
|
|
|
554
|
-
If more than one file is matched, a menu will be presented, multiple selections allowed. If multiple actions match the search within the selected file(s), a menu will be presented.
|
|
555
|
-
|
|
556
|
-
Any time an update action is carried out, a backup of the file before modification will be made in the same directory with a `.` prepended and `.bak` appended (e.g. `marked.taskpaper` is copied to `.marked.taskpaper.bak`). Only one undo step is available, but if something goes wrong (and this feature is still experimental, so be wary), you can just copy the ".bak" file back to the original.
|
|
554
|
+
If more than one file is matched, a menu will be presented, multiple selections allowed. If multiple actions match the search within the selected file(s), a menu will be presented. Use the `--all` switch to force operation on all matched tasks, skipping the menu.
|
|
557
555
|
|
|
558
556
|
> **Note:** When using the `update` command, if you have [fzf](https://github.com/junegunn/fzf) installed, menus for selecting files or actions will support multi-select (tab to mark multiple, return to confirm). If [gum](https://github.com/charmbracelet/gum) is installed, multi-select is also supported (use j/k/x to navigate and mark). If neither is available, a simple prompt is used. This makes it easy to apply updates to multiple actions at once.
|
|
559
557
|
|
|
558
|
+
Any time an update action is carried out, a backup of the file before modification will be made in the same directory with a `.` prepended and `.bak` appended (e.g. `marked.taskpaper` is copied to `.marked.taskpaper.bak`). Only one undo step is available, but if something goes wrong (and this feature is still experimental, so be wary), you can just copy the ".bak" file back to the original.
|
|
559
|
+
|
|
560
560
|
###### Marking a task as complete
|
|
561
561
|
|
|
562
562
|
You can mark an action complete using `--finish`, which will add a dated @done tag to the action. You can also mark it @done and immediately move it to the Archive project using `--archive`.
|
data/bin/commands/next.rb
CHANGED
|
@@ -17,7 +17,7 @@ class App
|
|
|
17
17
|
|
|
18
18
|
c.desc "Recurse to depth"
|
|
19
19
|
c.arg_name "DEPTH"
|
|
20
|
-
|
|
20
|
+
c.flag %i[d depth], type: :integer, must_match: /^[1-9][0-9]*$/
|
|
21
21
|
|
|
22
22
|
c.desc "Include hidden directories while traversing"
|
|
23
23
|
c.switch %i[hidden], negatable: false, default_value: false
|
data/lib/na/next_action.rb
CHANGED
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.82<!--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
|
|
|
@@ -205,12 +205,12 @@ This command will perform actions (tag, untag, complete, archive, add note, etc.
|
|
|
205
205
|
|
|
206
206
|
You can specify a particular todo file using `--file PATH` or any todo from history using `--in QUERY`.
|
|
207
207
|
|
|
208
|
-
If more than one file is matched, a menu will be presented, multiple selections allowed. If multiple actions match the search within the selected file(s), a menu will be presented.
|
|
209
|
-
|
|
210
|
-
Any time an update action is carried out, a backup of the file before modification will be made in the same directory with a `.` prepended and `.bak` appended (e.g. `marked.taskpaper` is copied to `.marked.taskpaper.bak`). Only one undo step is available, but if something goes wrong (and this feature is still experimental, so be wary), you can just copy the ".bak" file back to the original.
|
|
208
|
+
If more than one file is matched, a menu will be presented, multiple selections allowed. If multiple actions match the search within the selected file(s), a menu will be presented. Use the `--all` switch to force operation on all matched tasks, skipping the menu.
|
|
211
209
|
|
|
212
210
|
> **Note:** When using the `update` command, if you have [fzf](https://github.com/junegunn/fzf) installed, menus for selecting files or actions will support multi-select (tab to mark multiple, return to confirm). If [gum](https://github.com/charmbracelet/gum) is installed, multi-select is also supported (use j/k/x to navigate and mark). If neither is available, a simple prompt is used. This makes it easy to apply updates to multiple actions at once.
|
|
213
211
|
|
|
212
|
+
Any time an update action is carried out, a backup of the file before modification will be made in the same directory with a `.` prepended and `.bak` appended (e.g. `marked.taskpaper` is copied to `.marked.taskpaper.bak`). Only one undo step is available, but if something goes wrong (and this feature is still experimental, so be wary), you can just copy the ".bak" file back to the original.
|
|
213
|
+
|
|
214
214
|
###### Marking a task as complete
|
|
215
215
|
|
|
216
216
|
You can mark an action complete using `--finish`, which will add a dated @done tag to the action. You can also mark it @done and immediately move it to the Archive project using `--archive`.
|