na 1.1.17 → 1.1.18
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 +8 -0
- data/README.md +4 -4
- data/bin/na +4 -5
- 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: ca265b21ae87e7ce77028f5a5a61d335d54136998db65495aacda0d8f6ea1a67
|
4
|
+
data.tar.gz: 10c5a7a4d7dda293f9d10cee00255a3c7e91e36be5adaf57677ff57cac8352c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cce03bc78f6622640b3d707b804af98838782786a6b9d026f50ab97715611a34fe26829d1c3b09850679779b5c838e8b41168922973f5e4cf94d3b25859c6746
|
7
|
+
data.tar.gz: aa8965262c15291fadada3b61be77d7da36710f4a77b4e32a3909e072c30b6a67fb3c5aa8969bb6361e71cbf6efbf7bec8cf9400e0646ba10a4246e82e526359
|
data/CHANGELOG.md
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.1.
|
12
|
+
The current version of `na` is 1.1.18
|
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.
|
@@ -152,7 +152,7 @@ EXAMPLES
|
|
152
152
|
|
153
153
|
Example: `na find cool feature idea`
|
154
154
|
|
155
|
-
Unless `--exact` is specified, search is tokenized and combined with
|
155
|
+
Unless `--exact` is specified, search is tokenized and combined with AND, so `na find cool feature idea` translates to `cool AND feature AND idea`, matching any string that contains all of the words. To make a token required and others optional, add a `+` before it (e.g. `cool +feature idea` is `(cool OR idea) AND feature`). Wildcards allowed (`*` and `?`), use `--regex` to interpret the search as a regular expression. Use `-v` to invert the results (display non-matching actions only).
|
156
156
|
|
157
157
|
```
|
158
158
|
NAME
|
@@ -233,7 +233,7 @@ EXAMPLES
|
|
233
233
|
|
234
234
|
Example: `na tagged feature +maybe`.
|
235
235
|
|
236
|
-
Separate multiple tags with spaces or commas. By default tags are combined with
|
236
|
+
Separate multiple tags with spaces or commas. By default tags are combined with AND, so actions matching all of the tags listed will be displayed. Use `+` to make a tag required and `!` to negate a tag (only display if the action does _not_ contain the tag). When `+` and/or `!` are used, undecorated tokens become optional matches. Use `-v` to invert the search and display all actions that _don't_ match.
|
237
237
|
|
238
238
|
```
|
239
239
|
NAME
|
@@ -254,7 +254,7 @@ EXAMPLES
|
|
254
254
|
# Show all actions tagged @maybe
|
255
255
|
na tagged +maybe
|
256
256
|
|
257
|
-
# Show all actions tagged
|
257
|
+
# Show all actions tagged @feature and @idea, recurse 3 levels
|
258
258
|
na tagged -d 3 feature idea
|
259
259
|
```
|
260
260
|
|
data/bin/na
CHANGED
@@ -235,9 +235,8 @@ class App
|
|
235
235
|
(partial matches allowed). Add a + before a token to make it required, e.g. `na find +feature +maybe`'
|
236
236
|
arg_name 'PATTERN'
|
237
237
|
command %i[find grep] do |c|
|
238
|
-
c.example 'na find feature
|
238
|
+
c.example 'na find feature idea swift', desc: 'Find all actions containing feature, idea, and swift'
|
239
239
|
c.example 'na find -x feature idea', desc: 'Find all actions containing the exact text "feature idea"'
|
240
|
-
c.example 'na find -d 3 swift obj-c', desc: 'Find all actions 3 directories deep containing either swift or obj-c'
|
241
240
|
|
242
241
|
c.desc 'Interpret search pattern as regular expression'
|
243
242
|
c.switch %i[e regex], negatable: false
|
@@ -316,9 +315,9 @@ class App
|
|
316
315
|
You can specify values using TAG=VALUE pairs.'
|
317
316
|
arg_name 'TAG [VALUE]'
|
318
317
|
command %i[tagged] do |c|
|
319
|
-
c.example 'na tagged
|
320
|
-
c.example 'na tagged -d 3 feature idea', desc: 'Show all actions tagged
|
321
|
-
c.example 'na tagged
|
318
|
+
c.example 'na tagged maybe', desc: 'Show all actions tagged @maybe'
|
319
|
+
c.example 'na tagged -d 3 feature idea', desc: 'Show all actions tagged @feature and @idea, recurse 3 levels'
|
320
|
+
c.example 'na tagged priority>=4', desc: 'Show actions with @priority(4) or @priority(5)'
|
322
321
|
|
323
322
|
c.desc 'Recurse to depth'
|
324
323
|
c.arg_name 'DEPTH'
|
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.1.
|
12
|
+
The current version of `na` is <!--VER-->1.1.17<!--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
|
|
@@ -151,7 +151,7 @@ EXAMPLES
|
|
151
151
|
|
152
152
|
Example: `na find cool feature idea`
|
153
153
|
|
154
|
-
Unless `--exact` is specified, search is tokenized and combined with
|
154
|
+
Unless `--exact` is specified, search is tokenized and combined with AND, so `na find cool feature idea` translates to `cool AND feature AND idea`, matching any string that contains all of the words. To make a token required and others optional, add a `+` before it (e.g. `cool +feature idea` is `(cool OR idea) AND feature`). Wildcards allowed (`*` and `?`), use `--regex` to interpret the search as a regular expression. Use `-v` to invert the results (display non-matching actions only).
|
155
155
|
|
156
156
|
```
|
157
157
|
NAME
|
@@ -232,7 +232,7 @@ EXAMPLES
|
|
232
232
|
|
233
233
|
Example: `na tagged feature +maybe`.
|
234
234
|
|
235
|
-
Separate multiple tags with spaces or commas. By default tags are combined with
|
235
|
+
Separate multiple tags with spaces or commas. By default tags are combined with AND, so actions matching all of the tags listed will be displayed. Use `+` to make a tag required and `!` to negate a tag (only display if the action does _not_ contain the tag). When `+` and/or `!` are used, undecorated tokens become optional matches. Use `-v` to invert the search and display all actions that _don't_ match.
|
236
236
|
|
237
237
|
```
|
238
238
|
NAME
|
@@ -253,7 +253,7 @@ EXAMPLES
|
|
253
253
|
# Show all actions tagged @maybe
|
254
254
|
na tagged +maybe
|
255
255
|
|
256
|
-
# Show all actions tagged
|
256
|
+
# Show all actions tagged @feature and @idea, recurse 3 levels
|
257
257
|
na tagged -d 3 feature idea
|
258
258
|
```
|
259
259
|
|