na 1.0.0

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.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile +2 -0
  4. data/Gemfile.lock +35 -0
  5. data/README.rdoc +6 -0
  6. data/Rakefile +31 -0
  7. data/bin/na +285 -0
  8. data/html/App.html +105 -0
  9. data/html/NA/Action.html +299 -0
  10. data/html/NA/Color.html +373 -0
  11. data/html/NA.html +100 -0
  12. data/html/README_rdoc.html +328 -0
  13. data/html/String.html +368 -0
  14. data/html/created.rid +9 -0
  15. data/html/css/fonts.css +167 -0
  16. data/html/css/rdoc.css +639 -0
  17. data/html/fonts/Lato-Light.ttf +0 -0
  18. data/html/fonts/Lato-LightItalic.ttf +0 -0
  19. data/html/fonts/Lato-Regular.ttf +0 -0
  20. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  21. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  22. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  23. data/html/images/add.png +0 -0
  24. data/html/images/arrow_up.png +0 -0
  25. data/html/images/brick.png +0 -0
  26. data/html/images/brick_link.png +0 -0
  27. data/html/images/bug.png +0 -0
  28. data/html/images/bullet_black.png +0 -0
  29. data/html/images/bullet_toggle_minus.png +0 -0
  30. data/html/images/bullet_toggle_plus.png +0 -0
  31. data/html/images/date.png +0 -0
  32. data/html/images/delete.png +0 -0
  33. data/html/images/find.png +0 -0
  34. data/html/images/loadingAnimation.gif +0 -0
  35. data/html/images/macFFBgHack.png +0 -0
  36. data/html/images/package.png +0 -0
  37. data/html/images/page_green.png +0 -0
  38. data/html/images/page_white_text.png +0 -0
  39. data/html/images/page_white_width.png +0 -0
  40. data/html/images/plugin.png +0 -0
  41. data/html/images/ruby.png +0 -0
  42. data/html/images/tag_blue.png +0 -0
  43. data/html/images/tag_green.png +0 -0
  44. data/html/images/transparent.png +0 -0
  45. data/html/images/wrench.png +0 -0
  46. data/html/images/wrench_orange.png +0 -0
  47. data/html/images/zoom.png +0 -0
  48. data/html/index.html +297 -0
  49. data/html/js/darkfish.js +84 -0
  50. data/html/js/navigation.js +105 -0
  51. data/html/js/navigation.js.gz +0 -0
  52. data/html/js/search.js +110 -0
  53. data/html/js/search_index.js +1 -0
  54. data/html/js/search_index.js.gz +0 -0
  55. data/html/js/searcher.js +229 -0
  56. data/html/js/searcher.js.gz +0 -0
  57. data/html/table_of_contents.html +237 -0
  58. data/lib/na/action.rb +65 -0
  59. data/lib/na/colors.rb +335 -0
  60. data/lib/na/next_action.rb +181 -0
  61. data/lib/na/string.rb +42 -0
  62. data/lib/na/version.rb +3 -0
  63. data/lib/na.rb +11 -0
  64. data/na.gemspec +26 -0
  65. data/na.rdoc +167 -0
  66. metadata +211 -0
data/na.rdoc ADDED
@@ -0,0 +1,167 @@
1
+ == na - Add and list next actions for the current project
2
+
3
+ v1.0.0
4
+
5
+ === Global Options
6
+ === -d|--depth DEPTH
7
+
8
+ Recurse to depth
9
+
10
+ [Default Value] 1
11
+ [Must Match] (?-mix:^\d+$)
12
+
13
+
14
+ === --ext FILE_EXTENSION
15
+
16
+ File extension to consider a todo file
17
+
18
+ [Default Value] taskpaper
19
+
20
+
21
+ === --na_tag TAG
22
+
23
+ Tag to consider a next action
24
+
25
+ [Default Value] na
26
+
27
+
28
+ === -p|--priority PRIORITY
29
+
30
+ Set a priority 0-5 (deprecated, for backwards compatibility)
31
+
32
+ [Default Value] None
33
+
34
+
35
+ === -a|--[no-]add
36
+ Add a next action (deprecated, for backwards compatibility)
37
+
38
+
39
+
40
+ === --help
41
+ Show this message
42
+
43
+
44
+
45
+ === -n|--[no-]note
46
+ Prompt for additional notes (deprecated, for backwards compatibility)
47
+
48
+
49
+
50
+ === -r|--[no-]recurse
51
+ Recurse 3 directories deep (deprecated, for backwards compatability)
52
+
53
+
54
+
55
+ === --version
56
+ Display the program version
57
+
58
+
59
+
60
+ === Commands
61
+ ==== Command: <tt>add TASK</tt>
62
+ Add a new next action
63
+
64
+
65
+ ===== Options
66
+ ===== -f|--file PATH
67
+
68
+ Specify the file to which the task should be added
69
+
70
+ [Default Value] None
71
+
72
+
73
+ ===== -p|--priority arg
74
+
75
+ Add a priority level 1-5
76
+
77
+ [Default Value] 0
78
+ [Must Match] (?-mix:[1-5])
79
+
80
+
81
+ ===== -t|--tag TAG
82
+
83
+ Use a tag other than the default next action tag
84
+
85
+ [Default Value] None
86
+
87
+
88
+ ===== -n|--[no-]note
89
+ Prompt for additional notes
90
+
91
+
92
+
93
+ ==== Command: <tt>find PATTERN</tt>
94
+ Find actions matching a search pattern
95
+
96
+ Search tokens are separated by spaces. Actions matching any token in the pattern will be shown
97
+ (partial matches allowed). Add a + before a token to make it required, e.g. `na find +feature +maybe`
98
+ ===== Options
99
+ ===== -d|--depth DEPTH
100
+
101
+ Recurse to depth
102
+
103
+ [Default Value] 1
104
+ [Must Match] (?-mix:^\d+$)
105
+
106
+
107
+ ===== -x|--[no-]exact
108
+ Match pattern exactly
109
+
110
+
111
+
112
+ ==== Command: <tt>help command</tt>
113
+ Shows a list of commands or help for one command
114
+
115
+ Gets help for the application or its commands. Can also list the commands in a way helpful to creating a bash-style completion function
116
+ ===== Options
117
+ ===== -c
118
+ List commands one per line, to assist with shell completion
119
+
120
+
121
+
122
+ ==== Command: <tt>initconfig </tt>
123
+ Initialize the config file using current global options
124
+
125
+ Initializes a configuration file where you can set default options for command line flags, both globally and on a per-command basis. These defaults override the built-in defaults and allow you to omit commonly-used command line flags when invoking this program
126
+ ===== Options
127
+ ===== --[no-]force
128
+ force overwrite of existing config file
129
+
130
+
131
+
132
+ ==== Command: <tt>next|show </tt>
133
+ Show next actions
134
+
135
+
136
+ ===== Options
137
+ ===== -d|--depth DEPTH
138
+
139
+ Recurse to depth
140
+
141
+ [Default Value] None
142
+ [Must Match] (?-mix:^\d+$)
143
+
144
+
145
+ ===== -t|--tag arg
146
+
147
+ Alternate tag to search for
148
+
149
+ [Default Value] na
150
+
151
+
152
+ ==== Command: <tt>tagged TAG [VALUE]</tt>
153
+ Find actions matching a tag
154
+
155
+ Finds actions with tags matching the arguments. An action is shown if it
156
+ contains any of the tags listed. Add a + before a tag to make it required,
157
+ e.g. `na tagged feature +maybe`
158
+ ===== Options
159
+ ===== -d|--depth DEPTH
160
+
161
+ Recurse to depth
162
+
163
+ [Default Value] 1
164
+ [Must Match] (?-mix:^\d+$)
165
+
166
+
167
+ [Default Command] next
metadata ADDED
@@ -0,0 +1,211 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: na
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Brett Terpstra
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-09-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.2
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.14'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.14'
55
+ - !ruby/object:Gem::Dependency
56
+ name: gli
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.21.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.21.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: tty-reader
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.9'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 0.9.0
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '0.9'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 0.9.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: tty-which
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.5'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 0.5.0
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: '0.5'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 0.5.0
109
+ description:
110
+ email: me@brettterpstra.com
111
+ executables:
112
+ - na
113
+ extensions: []
114
+ extra_rdoc_files:
115
+ - README.rdoc
116
+ - na.rdoc
117
+ files:
118
+ - CHANGELOG.md
119
+ - Gemfile
120
+ - Gemfile.lock
121
+ - README.rdoc
122
+ - Rakefile
123
+ - bin/na
124
+ - html/App.html
125
+ - html/NA.html
126
+ - html/NA/Action.html
127
+ - html/NA/Color.html
128
+ - html/README_rdoc.html
129
+ - html/String.html
130
+ - html/created.rid
131
+ - html/css/fonts.css
132
+ - html/css/rdoc.css
133
+ - html/fonts/Lato-Light.ttf
134
+ - html/fonts/Lato-LightItalic.ttf
135
+ - html/fonts/Lato-Regular.ttf
136
+ - html/fonts/Lato-RegularItalic.ttf
137
+ - html/fonts/SourceCodePro-Bold.ttf
138
+ - html/fonts/SourceCodePro-Regular.ttf
139
+ - html/images/add.png
140
+ - html/images/arrow_up.png
141
+ - html/images/brick.png
142
+ - html/images/brick_link.png
143
+ - html/images/bug.png
144
+ - html/images/bullet_black.png
145
+ - html/images/bullet_toggle_minus.png
146
+ - html/images/bullet_toggle_plus.png
147
+ - html/images/date.png
148
+ - html/images/delete.png
149
+ - html/images/find.png
150
+ - html/images/loadingAnimation.gif
151
+ - html/images/macFFBgHack.png
152
+ - html/images/package.png
153
+ - html/images/page_green.png
154
+ - html/images/page_white_text.png
155
+ - html/images/page_white_width.png
156
+ - html/images/plugin.png
157
+ - html/images/ruby.png
158
+ - html/images/tag_blue.png
159
+ - html/images/tag_green.png
160
+ - html/images/transparent.png
161
+ - html/images/wrench.png
162
+ - html/images/wrench_orange.png
163
+ - html/images/zoom.png
164
+ - html/index.html
165
+ - html/js/darkfish.js
166
+ - html/js/navigation.js
167
+ - html/js/navigation.js.gz
168
+ - html/js/search.js
169
+ - html/js/search_index.js
170
+ - html/js/search_index.js.gz
171
+ - html/js/searcher.js
172
+ - html/js/searcher.js.gz
173
+ - html/table_of_contents.html
174
+ - lib/na.rb
175
+ - lib/na/action.rb
176
+ - lib/na/colors.rb
177
+ - lib/na/next_action.rb
178
+ - lib/na/string.rb
179
+ - lib/na/version.rb
180
+ - na.gemspec
181
+ - na.rdoc
182
+ homepage: https://brettterpstra.com
183
+ licenses:
184
+ - MIT
185
+ metadata: {}
186
+ post_install_message:
187
+ rdoc_options:
188
+ - "--title"
189
+ - na
190
+ - "--main"
191
+ - README.rdoc
192
+ - "-ri"
193
+ require_paths:
194
+ - lib
195
+ - lib
196
+ required_ruby_version: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ required_rubygems_version: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ requirements: []
207
+ rubygems_version: 3.2.16
208
+ signing_key:
209
+ specification_version: 4
210
+ summary: A command line tool for adding and listing project todos
211
+ test_files: []