hookapp 2.1.1 → 2.1.2

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.
@@ -1,11 +1,16 @@
1
1
  <!DOCTYPE html>
2
2
 
3
- <html>
3
+ <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
7
 
7
8
  <title>README - hookapp</title>
8
9
 
10
+ <meta name="keywords" content="ruby,documentation,README">
11
+ <meta name="description" content="README: hookapp A CLI for Hookmark on macOS. hookproductivity.">
12
+
13
+
9
14
  <script type="text/javascript">
10
15
  var rdoc_rel_prefix = "./";
11
16
  var index_rel_prefix = "./";
@@ -22,7 +27,12 @@
22
27
 
23
28
 
24
29
  <body id="top" role="document" class="file">
25
- <nav role="navigation">
30
+ <div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
31
+ <span aria-hidden="true">&#9776;</span>
32
+ </div>
33
+
34
+
35
+ <nav id="navigation" role="navigation">
26
36
  <div id="project-navigation">
27
37
  <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
38
  <h2>
@@ -41,7 +51,7 @@
41
51
  <div id="search-field-wrapper">
42
52
  <input id="search-field" role="combobox" aria-label="Search"
43
53
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
54
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
55
  title="Type to search, Up and Down to navigate, Enter to load">
46
56
  </div>
47
57
 
@@ -57,59 +67,156 @@
57
67
  <div class="nav-section">
58
68
  <h3>Table of Contents</h3>
59
69
 
70
+
71
+
60
72
  <ul class="link-list" role="directory">
61
- <li><a href="#label-hookapp">hookapp</a>
62
- <li><a href="#label-hook+-+CLI+interface+for+Hookmark+-28macOS-29">hook - CLI interface for Hookmark (macOS)</a>
63
- <li><a href="#label-Global+Options">Global Options</a>
64
- <li><a href="#label--help">–help</a>
65
- <li><a href="#label--version">–version</a>
66
- <li><a href="#label-Commands">Commands</a>
67
- <li><a href="#label-Command-3A+browse++PATH_OR_GLOB">Command: <code>browse PATH_OR_GLOB</code></a>
68
- <li><a href="#label-Command-3A+clip-7Ccp++FILE_OR_URL">Command: <code>clip|cp FILE_OR_URL</code></a>
69
- <li><a href="#label-Options">Options</a>
70
- <li><a href="#label-a-7C--app+APP_NAME">-a|–app APP_NAME</a>
71
- <li><a href="#label-m-7C--markdown">-m|–markdown</a>
72
- <li><a href="#label-Command-3A+clone++SOURCE+TARGET">Command: <code>clone SOURCE TARGET</code></a>
73
- <li><a href="#label-Command-3A+find-7Csearch++-5BSEARCH_STRING-5D">Command: <code>find|search [SEARCH_STRING]</code></a>
74
- <li><a href="#label-Options">Options</a>
75
- <li><a href="#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
76
- <li><a href="#label-f-7C--files_only">-f|–files_only</a>
77
- <li><a href="#label-n-7C--names_only">-n|–names_only</a>
78
- <li><a href="#label--null">–null</a>
79
- <li><a href="#label-Command-3A+from++APPLICATION_NAME">Command: <code>from APPLICATION_NAME</code></a>
80
- <li><a href="#label-Options">Options</a>
81
- <li><a href="#label-c-7C--copy">-c|–copy</a>
82
- <li><a href="#label-m-7C--markdown">-m|–markdown</a>
83
- <li><a href="#label-Command-3A+help++command">Command: <code>help command</code></a>
84
- <li><a href="#label-Options">Options</a>
85
- <li><a href="#label-c">-c</a>
86
- <li><a href="#label-Command-3A+link-7Cln++SOURCE...+TARGET">Command: <code>link|ln SOURCE... TARGET</code></a>
87
- <li><a href="#label-Options">Options</a>
88
- <li><a href="#label-a-7C--all">-a|–all</a>
89
- <li><a href="#label-p-7C--paste">-p|–paste</a>
90
- <li><a href="#label-Command-3A+list-7Cls++-5BFILE_OR_URL-5D...">Command: <code>list|ls [FILE_OR_URL]...</code></a>
91
- <li><a href="#label-Options">Options</a>
92
- <li><a href="#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
93
- <li><a href="#label-f-7C--files_only">-f|–files_only</a>
94
- <li><a href="#label--null">–null</a>
95
- <li><a href="#label-s-7C--select">-<a href="no-">s|–</a>select</a>
96
- <li><a href="#label-Command-3A+open-7Cgui++FILE_OR_URL">Command: <code>open|gui FILE_OR_URL</code></a>
97
- <li><a href="#label-Command-3A+percent++STRING">Command: <code>percent STRING</code></a>
98
- <li><a href="#label-Commands">Commands</a>
99
- <li><a href="#label-Command-3A+decode++STRING">Command: <code>decode STRING</code></a>
100
- <li><a href="#label-Command-3A+encode++STRING">Command: <code>encode STRING</code></a>
101
- <li><a href="#label-Command-3A+remove-7Crm++FILE_OR_URL...">Command: <code>remove|rm FILE_OR_URL...</code></a>
102
- <li><a href="#label-Options">Options</a>
103
- <li><a href="#label-a-7C--all">-a|–all</a>
104
- <li><a href="#label-f-7C--force">-f|–force</a>
105
- <li><a href="#label-Command-3A+scripts++SHELL">Command: <code>scripts SHELL</code></a>
106
- <li><a href="#label-Command-3A+select++FILE_OR_URL">Command: <code>select FILE_OR_URL</code></a>
73
+ <li>
74
+ <details open>
75
+ <summary> <a href="#label-hookapp">hookapp</a>
76
+ </summary>
77
+ <ul class="link-list" role="directory">
78
+ <li>
79
+ <details open>
80
+ <summary> <a href="#label-hook+-+CLI+interface+for+Hookmark+-28macOS-29">hook - CLI interface for Hookmark (macOS)</a>
81
+ </summary>
82
+ <ul class="link-list" role="directory">
83
+ <li> <a href="#label-Global+Options">Global Options</a>
84
+ <li> <a href="#label--help">–help</a>
85
+ <li> <a href="#label--version">–version</a>
86
+ <li>
87
+ <details open>
88
+ <summary> <a href="#label-Commands">Commands</a>
89
+ </summary>
90
+ <ul class="link-list" role="directory">
91
+ <li> <a href="#label-Command-3A+browse++PATH_OR_GLOB">Command: <code>browse PATH_OR_GLOB</code></a>
92
+ <li>
93
+ <details open>
94
+ <summary> <a href="#label-Command-3A+clip-7Ccp++FILE_OR_URL">Command: <code>clip|cp FILE_OR_URL</code></a>
95
+ </summary>
96
+ <ul class="link-list" role="directory">
97
+ <li> <a href="#label-Options">Options</a>
98
+ <li> <a href="#label-a-7C--app+APP_NAME">-a|–app APP_NAME</a>
99
+ <li> <a href="#label-m-7C--markdown">-m|–markdown</a>
100
+
101
+ </ul>
102
+ </details>
103
+ </li>
104
+ <li> <a href="#label-Command-3A+clone++SOURCE+TARGET">Command: <code>clone SOURCE TARGET</code></a>
105
+ <li>
106
+ <details open>
107
+ <summary> <a href="#label-Command-3A+find-7Csearch++-5BSEARCH_STRING-5D">Command: <code>find|search [SEARCH_STRING]</code></a>
108
+ </summary>
109
+ <ul class="link-list" role="directory">
110
+ <li> <a href="#label-Options">Options</a>
111
+ <li> <a href="#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
112
+ <li> <a href="#label-f-7C--files_only">-f|–files_only</a>
113
+ <li> <a href="#label-n-7C--names_only">-n|–names_only</a>
114
+ <li> <a href="#label--null">–null</a>
115
+
116
+ </ul>
117
+ </details>
118
+ </li>
119
+ <li>
120
+ <details open>
121
+ <summary> <a href="#label-Command-3A+from++APPLICATION_NAME">Command: <code>from APPLICATION_NAME</code></a>
122
+ </summary>
123
+ <ul class="link-list" role="directory">
124
+ <li> <a href="#label-Options">Options</a>
125
+ <li> <a href="#label-c-7C--copy">-c|–copy</a>
126
+ <li> <a href="#label-m-7C--markdown">-m|–markdown</a>
127
+
128
+ </ul>
129
+ </details>
130
+ </li>
131
+ <li>
132
+ <details open>
133
+ <summary> <a href="#label-Command-3A+help++command">Command: <code>help command</code></a>
134
+ </summary>
135
+ <ul class="link-list" role="directory">
136
+ <li> <a href="#label-Options">Options</a>
137
+ <li> <a href="#label-c">-c</a>
138
+
139
+ </ul>
140
+ </details>
141
+ </li>
142
+ <li>
143
+ <details open>
144
+ <summary> <a href="#label-Command-3A+link-7Cln++SOURCE...+TARGET">Command: <code>link|ln SOURCE... TARGET</code></a>
145
+ </summary>
146
+ <ul class="link-list" role="directory">
147
+ <li> <a href="#label-Options">Options</a>
148
+ <li> <a href="#label-a-7C--all">-a|–all</a>
149
+ <li> <a href="#label-p-7C--paste">-p|–paste</a>
150
+
151
+ </ul>
152
+ </details>
153
+ </li>
154
+ <li>
155
+ <details open>
156
+ <summary> <a href="#label-Command-3A+list-7Cls++-5BFILE_OR_URL-5D...">Command: <code>list|ls [FILE_OR_URL]...</code></a>
157
+ </summary>
158
+ <ul class="link-list" role="directory">
159
+ <li> <a href="#label-Options">Options</a>
160
+ <li> <a href="#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
161
+ <li> <a href="#label-f-7C--files_only">-f|–files_only</a>
162
+ <li> <a href="#label--null">–null</a>
163
+ <li> <a href="#label-s-7C--select">-<a href="no-">s|–</a>select</a>
164
+
165
+ </ul>
166
+ </details>
167
+ </li>
168
+ <li> <a href="#label-Command-3A+open-7Cgui++FILE_OR_URL">Command: <code>open|gui FILE_OR_URL</code></a>
169
+ <li>
170
+ <details open>
171
+ <summary> <a href="#label-Command-3A+percent++STRING">Command: <code>percent STRING</code></a>
172
+ </summary>
173
+ <ul class="link-list" role="directory">
174
+ <li>
175
+ <details open>
176
+ <summary> <a href="#label-Commands">Commands</a>
177
+ </summary>
178
+ <ul class="link-list" role="directory">
179
+ <li> <a href="#label-Command-3A+decode++STRING">Command: <code>decode STRING</code></a>
180
+ <li> <a href="#label-Command-3A+encode++STRING">Command: <code>encode STRING</code></a>
181
+
182
+ </ul>
183
+ </details>
184
+ </li>
185
+
186
+ </ul>
187
+ </details>
188
+ </li>
189
+ <li>
190
+ <details open>
191
+ <summary> <a href="#label-Command-3A+remove-7Crm++FILE_OR_URL...">Command: <code>remove|rm FILE_OR_URL...</code></a>
192
+ </summary>
193
+ <ul class="link-list" role="directory">
194
+ <li> <a href="#label-Options">Options</a>
195
+ <li> <a href="#label-a-7C--all">-a|–all</a>
196
+ <li> <a href="#label-f-7C--force">-f|–force</a>
197
+
198
+ </ul>
199
+ </details>
200
+ </li>
201
+ <li> <a href="#label-Command-3A+scripts++SHELL">Command: <code>scripts SHELL</code></a>
202
+ <li> <a href="#label-Command-3A+select++FILE_OR_URL">Command: <code>select FILE_OR_URL</code></a>
203
+
204
+ </ul>
205
+ </details>
206
+ </li>
207
+
208
+ </ul>
209
+ </details>
210
+ </li>
211
+
212
+ </ul>
213
+ </details>
214
+ </li>
215
+
107
216
  </ul>
108
217
  </div>
109
218
 
110
-
111
- <div id="project-metadata">
112
-
219
+
113
220
  <div id="fileindex-section" class="nav-section">
114
221
  <h3>Pages</h3>
115
222
 
@@ -118,7 +225,13 @@
118
225
  </ul>
119
226
  </div>
120
227
 
121
- </div>
228
+
229
+ <footer id="validator-badges" role="contentinfo">
230
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
231
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
232
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
233
+ </footer>
234
+
122
235
  </nav>
123
236
 
124
237
  <main role="main" aria-label="Page README.rdoc">
@@ -131,7 +244,7 @@
131
244
 
132
245
  <p>Hookmark is a productivity tool for macOS &lt;<a href="https://hookproductivity.com">hookproductivity.com</a>/&gt;.</p>
133
246
 
134
- <p>This gem includes a `hook` binary that allows interaction with the features of Hookmark.</p>
247
+ <p>This gem includes a hook` binary that allows interaction with the features of Hookmark.</p>
135
248
 
136
249
  <p>v2.1.1</p>
137
250
 
@@ -159,14 +272,14 @@
159
272
 
160
273
  <p>Creates a bookmark for the specified file or URL and copies its Hookmark URL to the clipboard.</p>
161
274
 
162
- <p>The copied Hookmark URL can be used to link to other files (use `hook link –paste FILE/URL`, or to paste into another app as a link. Use the -m flag to copy a full Markdown link.</p>
275
+ <p>The copied Hookmark URL can be used to link to other files (use hook link –paste FILE/URL`, or to paste into another app as a link. Use the -m flag to copy a full Markdown link.</p>
163
276
 
164
277
  <h5 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#top">&uarr;</a></span></h5>
165
278
 
166
279
  <h5 id="label-a-7C--app+APP_NAME">-a|–app APP_NAME<span><a href="#label-a-7C--app+APP_NAME">&para;</a> <a href="#top">&uarr;</a></span></h5>
167
280
 
168
281
  <p>Copy from application</p>
169
- <dl class="rdoc-list label-list"><dt>Default Value
282
+ <dl class="rdoc-list label-list"><dt>Default Value</dt>
170
283
  <dd>
171
284
  <p>None</p>
172
285
  </dd></dl>
@@ -189,14 +302,14 @@
189
302
 
190
303
  <p>Search bookmark urls and names for a string and output in specified format (default “paths”).</p>
191
304
 
192
- <p>Run `hook find` with no search argument to list all bookmarks.</p>
305
+ <p>Run hook find` with no search argument to list all bookmarks.</p>
193
306
 
194
307
  <h5 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#top">&uarr;</a></span></h5>
195
308
 
196
309
  <h5 id="label-o-7C--output_format+FORMAT">-o|–output_format FORMAT<span><a href="#label-o-7C--output_format+FORMAT">&para;</a> <a href="#top">&uarr;</a></span></h5>
197
310
 
198
311
  <p>Output format [(h)ooks, (p)aths, (m)arkdown, (v)erbose]</p>
199
- <dl class="rdoc-list label-list"><dt>Default Value
312
+ <dl class="rdoc-list label-list"><dt>Default Value</dt>
200
313
  <dd>
201
314
  <p>paths</p>
202
315
  </dd></dl>
@@ -217,7 +330,7 @@
217
330
 
218
331
  <p>Get a Hookmark URL for the frontmost window of an app</p>
219
332
 
220
- <p>Specify an application by name (without &#39;.app&#39;) to bring that app to the foreground and create a bookmark for the active document, note, task, etc., returning a Hookmark URL.</p>
333
+ <p>Specify an application by name (without ‘.app) to bring that app to the foreground and create a bookmark for the active document, note, task, etc., returning a Hookmark URL.</p>
221
334
 
222
335
  <p>Use -m to get the response as Markdown, and/or -c to copy the result directly to the clipboard.</p>
223
336
 
@@ -247,9 +360,9 @@
247
360
 
248
361
  <p>Create bidirectional hooks between two or more files/urls</p>
249
362
 
250
- <p>If two files/urls are provided, links will be bi-directional. If three or more are provided, `link` defaults to creating bi-directional links between each file and the last file in the list. Use `-a` to create bi-directional links between every file in the list.</p>
363
+ <p>If two files/urls are provided, links will be bi-directional. If three or more are provided, link` defaults to creating bi-directional links between each file and the last file in the list. Use `-a` to create bi-directional links between every file in the list.</p>
251
364
 
252
- <p>If using `–paste`, the URL/hook link in the clipboard will be used as one argument, to be combined with one or more file/url arguments.</p>
365
+ <p>If using ‘–paste`, the URL/hook link in the clipboard will be used as one argument, to be combined with one or more file/url arguments.</p>
253
366
 
254
367
  <h5 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#top">&uarr;</a></span></h5>
255
368
 
@@ -267,14 +380,14 @@
267
380
 
268
381
  <p>Output a list of all hooks attached to given url(s) or file(s) in the specified format (default “paths”).</p>
269
382
 
270
- <p>Run `hook list` with no file/url argument to list all bookmarks.</p>
383
+ <p>Run hook list` with no file/url argument to list all bookmarks.</p>
271
384
 
272
385
  <h5 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#top">&uarr;</a></span></h5>
273
386
 
274
387
  <h5 id="label-o-7C--output_format+FORMAT">-o|–output_format FORMAT<span><a href="#label-o-7C--output_format+FORMAT">&para;</a> <a href="#top">&uarr;</a></span></h5>
275
388
 
276
389
  <p>Output format [(h)ooks, (p)aths, (m)arkdown, (v)erbose]</p>
277
- <dl class="rdoc-list label-list"><dt>Default Value
390
+ <dl class="rdoc-list label-list"><dt>Default Value</dt>
278
391
  <dd>
279
392
  <p>paths</p>
280
393
  </dd></dl>
@@ -291,7 +404,7 @@
291
404
 
292
405
  <p>Generate a menu to select hook(s) for opening</p>
293
406
 
294
- <p>This option is a shortcut to `hook select` and overrides any other arguments.</p>
407
+ <p>This option is a shortcut to hook select` and overrides any other arguments.</p>
295
408
 
296
409
  <h4 id="label-Command-3A+open-7Cgui++FILE_OR_URL">Command: <code>open|gui FILE_OR_URL</code><span><a href="#label-Command-3A+open-7Cgui++FILE_OR_URL">&para;</a> <a href="#top">&uarr;</a></span></h4>
297
410
 
@@ -305,7 +418,7 @@
305
418
 
306
419
  <p>Percent encode/decode a string</p>
307
420
 
308
- <p>Use encode or decode to apply Hookmark&#39;s url encoding to a string argument. Use &#39;-&#39; to read input from STDIN.</p>
421
+ <p>Use encode or decode to apply Hookmarks url encoding to a string argument. Use ‘-’ to read input from STDIN.</p>
309
422
 
310
423
  <h5 id="label-Commands">Commands<span><a href="#label-Commands">&para;</a> <a href="#top">&uarr;</a></span></h5>
311
424
 
@@ -323,7 +436,7 @@
323
436
 
324
437
  <p>Remove a hook between two files or URLs. If you use –all, all hooks on a given file will be removed.</p>
325
438
 
326
- <p>If –all isn&#39;t specified, exactly two arguments (Files/URLs) are required.</p>
439
+ <p>If –all isnt specified, exactly two arguments (Files/URLs) are required.</p>
327
440
 
328
441
  <h5 id="label-Options">Options<span><a href="#label-Options">&para;</a> <a href="#top">&uarr;</a></span></h5>
329
442
 
@@ -344,18 +457,10 @@
344
457
  <p>Select from hooks on a file/url and open in default application</p>
345
458
 
346
459
  <p>If the target file/URL has hooked items, a menu will be provided. Selecting one or more files from this menu will open the item(s) using the default application assigned to the filetype by macOS. Allows multiple selections with tab key, and type-ahead fuzzy filtering of results.</p>
347
- <dl class="rdoc-list label-list"><dt>Default Command
460
+ <dl class="rdoc-list label-list"><dt>Default Command</dt>
348
461
  <dd>
349
462
  <p>help</p>
350
463
  </dd></dl>
351
464
 
352
465
  </main>
353
466
 
354
-
355
-
356
- <footer id="validator-badges" role="contentinfo">
357
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
358
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
359
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
360
- </footer>
361
-