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.
- checksums.yaml +4 -4
- data/bin/hook +1 -1
- data/hookapp.gemspec +1 -1
- data/html/App.html +36 -24
- data/html/GLI/Commands/Doc.html +55 -19
- data/html/GLI/Commands/MarkdownDocumentListener.html +309 -151
- data/html/GLI/Commands.html +49 -19
- data/html/GLI.html +33 -19
- data/html/Hook/Prompt.html +50 -20
- data/html/Hook/PromptFZF.html +129 -69
- data/html/Hook/PromptSTD.html +104 -52
- data/html/Hook.html +34 -19
- data/html/HookApp.html +487 -265
- data/html/Hooker.html +60 -42
- data/html/Object.html +36 -23
- data/html/README_rdoc.html +180 -75
- data/html/String.html +185 -103
- data/html/created.rid +10 -10
- data/html/css/rdoc.css +402 -358
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/index.html +193 -45
- data/html/js/darkfish.js +38 -2
- data/html/js/navigation.js +8 -8
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +4 -4
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +52 -8
- data/lib/hook/hookapp.rb +8 -4
- data/lib/hook/version.rb +1 -1
- metadata +3 -3
|
Binary file
|
|
Binary file
|
data/html/index.html
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
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>hookapp</title>
|
|
8
9
|
|
|
10
|
+
<meta name="keywords" content="ruby,documentation,hookapp">
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<meta name="description" content="hookapp: hookapp A CLI for Hookmark on macOS. hookproductivity.">
|
|
14
|
+
|
|
15
|
+
|
|
9
16
|
<script type="text/javascript">
|
|
10
17
|
var rdoc_rel_prefix = "./";
|
|
11
18
|
var index_rel_prefix = "./";
|
|
@@ -22,7 +29,12 @@
|
|
|
22
29
|
|
|
23
30
|
|
|
24
31
|
<body id="top" role="document" class="file">
|
|
25
|
-
<
|
|
32
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
33
|
+
<span aria-hidden="true">☰</span>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<nav id="navigation" role="navigation">
|
|
26
38
|
<div id="project-navigation">
|
|
27
39
|
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
40
|
<h2>
|
|
@@ -36,13 +48,12 @@
|
|
|
36
48
|
</div>
|
|
37
49
|
</div>
|
|
38
50
|
|
|
39
|
-
|
|
40
51
|
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
41
52
|
<form action="#" method="get" accept-charset="utf-8">
|
|
42
53
|
<div id="search-field-wrapper">
|
|
43
54
|
<input id="search-field" role="combobox" aria-label="Search"
|
|
44
55
|
aria-autocomplete="list" aria-controls="search-results"
|
|
45
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
56
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
|
46
57
|
title="Type to search, Up and Down to navigate, Enter to load">
|
|
47
58
|
</div>
|
|
48
59
|
|
|
@@ -54,8 +65,160 @@
|
|
|
54
65
|
|
|
55
66
|
</div>
|
|
56
67
|
|
|
57
|
-
|
|
58
|
-
|
|
68
|
+
|
|
69
|
+
<div class="nav-section">
|
|
70
|
+
<h3>Table of Contents</h3>
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<ul class="link-list" role="directory">
|
|
75
|
+
<li>
|
|
76
|
+
<details open>
|
|
77
|
+
<summary> <a href="#label-hookapp">hookapp</a>
|
|
78
|
+
</summary>
|
|
79
|
+
<ul class="link-list" role="directory">
|
|
80
|
+
<li>
|
|
81
|
+
<details open>
|
|
82
|
+
<summary> <a href="#label-hook+-+CLI+interface+for+Hookmark+-28macOS-29">hook - CLI interface for Hookmark (macOS)</a>
|
|
83
|
+
</summary>
|
|
84
|
+
<ul class="link-list" role="directory">
|
|
85
|
+
<li> <a href="#label-Global+Options">Global Options</a>
|
|
86
|
+
<li> <a href="#label--help">–help</a>
|
|
87
|
+
<li> <a href="#label--version">–version</a>
|
|
88
|
+
<li>
|
|
89
|
+
<details open>
|
|
90
|
+
<summary> <a href="#label-Commands">Commands</a>
|
|
91
|
+
</summary>
|
|
92
|
+
<ul class="link-list" role="directory">
|
|
93
|
+
<li> <a href="#label-Command-3A+browse++PATH_OR_GLOB">Command: <code>browse PATH_OR_GLOB</code></a>
|
|
94
|
+
<li>
|
|
95
|
+
<details open>
|
|
96
|
+
<summary> <a href="#label-Command-3A+clip-7Ccp++FILE_OR_URL">Command: <code>clip|cp FILE_OR_URL</code></a>
|
|
97
|
+
</summary>
|
|
98
|
+
<ul class="link-list" role="directory">
|
|
99
|
+
<li> <a href="#label-Options">Options</a>
|
|
100
|
+
<li> <a href="#label-a-7C--app+APP_NAME">-a|–app APP_NAME</a>
|
|
101
|
+
<li> <a href="#label-m-7C--markdown">-m|–markdown</a>
|
|
102
|
+
|
|
103
|
+
</ul>
|
|
104
|
+
</details>
|
|
105
|
+
</li>
|
|
106
|
+
<li> <a href="#label-Command-3A+clone++SOURCE+TARGET">Command: <code>clone SOURCE TARGET</code></a>
|
|
107
|
+
<li>
|
|
108
|
+
<details open>
|
|
109
|
+
<summary> <a href="#label-Command-3A+find-7Csearch++-5BSEARCH_STRING-5D">Command: <code>find|search [SEARCH_STRING]</code></a>
|
|
110
|
+
</summary>
|
|
111
|
+
<ul class="link-list" role="directory">
|
|
112
|
+
<li> <a href="#label-Options">Options</a>
|
|
113
|
+
<li> <a href="#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
|
|
114
|
+
<li> <a href="#label-f-7C--files_only">-f|–files_only</a>
|
|
115
|
+
<li> <a href="#label-n-7C--names_only">-n|–names_only</a>
|
|
116
|
+
<li> <a href="#label--null">–null</a>
|
|
117
|
+
|
|
118
|
+
</ul>
|
|
119
|
+
</details>
|
|
120
|
+
</li>
|
|
121
|
+
<li>
|
|
122
|
+
<details open>
|
|
123
|
+
<summary> <a href="#label-Command-3A+from++APPLICATION_NAME">Command: <code>from APPLICATION_NAME</code></a>
|
|
124
|
+
</summary>
|
|
125
|
+
<ul class="link-list" role="directory">
|
|
126
|
+
<li> <a href="#label-Options">Options</a>
|
|
127
|
+
<li> <a href="#label-c-7C--copy">-c|–copy</a>
|
|
128
|
+
<li> <a href="#label-m-7C--markdown">-m|–markdown</a>
|
|
129
|
+
|
|
130
|
+
</ul>
|
|
131
|
+
</details>
|
|
132
|
+
</li>
|
|
133
|
+
<li>
|
|
134
|
+
<details open>
|
|
135
|
+
<summary> <a href="#label-Command-3A+help++command">Command: <code>help command</code></a>
|
|
136
|
+
</summary>
|
|
137
|
+
<ul class="link-list" role="directory">
|
|
138
|
+
<li> <a href="#label-Options">Options</a>
|
|
139
|
+
<li> <a href="#label-c">-c</a>
|
|
140
|
+
|
|
141
|
+
</ul>
|
|
142
|
+
</details>
|
|
143
|
+
</li>
|
|
144
|
+
<li>
|
|
145
|
+
<details open>
|
|
146
|
+
<summary> <a href="#label-Command-3A+link-7Cln++SOURCE...+TARGET">Command: <code>link|ln SOURCE... TARGET</code></a>
|
|
147
|
+
</summary>
|
|
148
|
+
<ul class="link-list" role="directory">
|
|
149
|
+
<li> <a href="#label-Options">Options</a>
|
|
150
|
+
<li> <a href="#label-a-7C--all">-a|–all</a>
|
|
151
|
+
<li> <a href="#label-p-7C--paste">-p|–paste</a>
|
|
152
|
+
|
|
153
|
+
</ul>
|
|
154
|
+
</details>
|
|
155
|
+
</li>
|
|
156
|
+
<li>
|
|
157
|
+
<details open>
|
|
158
|
+
<summary> <a href="#label-Command-3A+list-7Cls++-5BFILE_OR_URL-5D...">Command: <code>list|ls [FILE_OR_URL]...</code></a>
|
|
159
|
+
</summary>
|
|
160
|
+
<ul class="link-list" role="directory">
|
|
161
|
+
<li> <a href="#label-Options">Options</a>
|
|
162
|
+
<li> <a href="#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
|
|
163
|
+
<li> <a href="#label-f-7C--files_only">-f|–files_only</a>
|
|
164
|
+
<li> <a href="#label--null">–null</a>
|
|
165
|
+
<li> <a href="#label-s-7C--select">-<a href="no-">s|–</a>select</a>
|
|
166
|
+
|
|
167
|
+
</ul>
|
|
168
|
+
</details>
|
|
169
|
+
</li>
|
|
170
|
+
<li> <a href="#label-Command-3A+open-7Cgui++FILE_OR_URL">Command: <code>open|gui FILE_OR_URL</code></a>
|
|
171
|
+
<li>
|
|
172
|
+
<details open>
|
|
173
|
+
<summary> <a href="#label-Command-3A+percent++STRING">Command: <code>percent STRING</code></a>
|
|
174
|
+
</summary>
|
|
175
|
+
<ul class="link-list" role="directory">
|
|
176
|
+
<li>
|
|
177
|
+
<details open>
|
|
178
|
+
<summary> <a href="#label-Commands">Commands</a>
|
|
179
|
+
</summary>
|
|
180
|
+
<ul class="link-list" role="directory">
|
|
181
|
+
<li> <a href="#label-Command-3A+decode++STRING">Command: <code>decode STRING</code></a>
|
|
182
|
+
<li> <a href="#label-Command-3A+encode++STRING">Command: <code>encode STRING</code></a>
|
|
183
|
+
|
|
184
|
+
</ul>
|
|
185
|
+
</details>
|
|
186
|
+
</li>
|
|
187
|
+
|
|
188
|
+
</ul>
|
|
189
|
+
</details>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<details open>
|
|
193
|
+
<summary> <a href="#label-Command-3A+remove-7Crm++FILE_OR_URL...">Command: <code>remove|rm FILE_OR_URL...</code></a>
|
|
194
|
+
</summary>
|
|
195
|
+
<ul class="link-list" role="directory">
|
|
196
|
+
<li> <a href="#label-Options">Options</a>
|
|
197
|
+
<li> <a href="#label-a-7C--all">-a|–all</a>
|
|
198
|
+
<li> <a href="#label-f-7C--force">-f|–force</a>
|
|
199
|
+
|
|
200
|
+
</ul>
|
|
201
|
+
</details>
|
|
202
|
+
</li>
|
|
203
|
+
<li> <a href="#label-Command-3A+scripts++SHELL">Command: <code>scripts SHELL</code></a>
|
|
204
|
+
<li> <a href="#label-Command-3A+select++FILE_OR_URL">Command: <code>select FILE_OR_URL</code></a>
|
|
205
|
+
|
|
206
|
+
</ul>
|
|
207
|
+
</details>
|
|
208
|
+
</li>
|
|
209
|
+
|
|
210
|
+
</ul>
|
|
211
|
+
</details>
|
|
212
|
+
</li>
|
|
213
|
+
|
|
214
|
+
</ul>
|
|
215
|
+
</details>
|
|
216
|
+
</li>
|
|
217
|
+
|
|
218
|
+
</ul>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
|
|
59
222
|
<div id="fileindex-section" class="nav-section">
|
|
60
223
|
<h3>Pages</h3>
|
|
61
224
|
|
|
@@ -64,32 +227,24 @@
|
|
|
64
227
|
</ul>
|
|
65
228
|
</div>
|
|
66
229
|
|
|
67
|
-
|
|
230
|
+
<div id="classindex-section" class="nav-section">
|
|
68
231
|
<h3>Class and Module Index</h3>
|
|
69
232
|
|
|
70
|
-
<ul class="link-list">
|
|
71
|
-
<li><a href="./App.html">App</a>
|
|
72
|
-
<li><a href="./GLI.html">GLI</a>
|
|
73
|
-
<li><a href="./GLI/Commands.html">GLI::Commands</a>
|
|
74
|
-
<li><a href="./GLI/Commands/Doc.html">GLI::Commands::Doc</a>
|
|
75
|
-
<li><a href="./GLI/Commands/MarkdownDocumentListener.html">GLI::Commands::MarkdownDocumentListener</a>
|
|
76
|
-
<li><a href="./Hook.html">Hook</a>
|
|
77
|
-
<li><a href="./Hook/Prompt.html">Hook::Prompt</a>
|
|
78
|
-
<li><a href="./Hook/PromptFZF.html">Hook::PromptFZF</a>
|
|
79
|
-
<li><a href="./Hook/PromptSTD.html">Hook::PromptSTD</a>
|
|
80
|
-
<li><a href="./HookApp.html">HookApp</a>
|
|
81
|
-
<li><a href="./Hooker.html">Hooker</a>
|
|
82
|
-
<li><a href="./Object.html">Object</a>
|
|
83
|
-
<li><a href="./String.html">String</a>
|
|
84
|
-
</ul>
|
|
233
|
+
<ul class="link-list"><li><code><a href="./App.html">App</a></code></li><li><details><summary><code><a href="./GLI.html">GLI</a></code></summary><ul class="link-list"><li><details><summary><code><a href="./GLI/Commands.html">Commands</a></code></summary><ul class="link-list"><li><code><a href="./GLI/Commands/Doc.html">Doc</a></code></li><li><code><a href="./GLI/Commands/MarkdownDocumentListener.html">MarkdownDocumentListener</a></code></li></ul></details></li></ul></details></li><li><details><summary><code><a href="./Hook.html">Hook</a></code></summary><ul class="link-list"><li><code><a href="./Hook/Prompt.html">Prompt</a></code></li><li><code><a href="./Hook/PromptFZF.html">PromptFZF</a></code></li><li><code><a href="./Hook/PromptSTD.html">PromptSTD</a></code></li></ul></details></li><li><code><a href="./HookApp.html">HookApp</a></code></li><li><code><a href="./Hooker.html">Hooker</a></code></li><li><code><a href="./Object.html">Object</a></code></li><li><code><a href="./String.html">String</a></code></li></ul>
|
|
85
234
|
</div>
|
|
86
235
|
|
|
87
|
-
|
|
236
|
+
|
|
237
|
+
<footer id="validator-badges" role="contentinfo">
|
|
238
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
239
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
|
|
240
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
241
|
+
</footer>
|
|
242
|
+
|
|
88
243
|
</nav>
|
|
89
244
|
|
|
90
245
|
<main role="main">
|
|
91
246
|
|
|
92
|
-
|
|
247
|
+
|
|
93
248
|
<h1 id="label-hookapp">hookapp<span><a href="#label-hookapp">¶</a> <a href="#top">↑</a></span></h1>
|
|
94
249
|
|
|
95
250
|
<p>A CLI for Hookmark on macOS.</p>
|
|
@@ -98,7 +253,7 @@
|
|
|
98
253
|
|
|
99
254
|
<p>Hookmark is a productivity tool for macOS <<a href="https://hookproductivity.com">hookproductivity.com</a>/>.</p>
|
|
100
255
|
|
|
101
|
-
<p>This gem includes a
|
|
256
|
+
<p>This gem includes a ‘hook` binary that allows interaction with the features of Hookmark.</p>
|
|
102
257
|
|
|
103
258
|
<p>v2.1.1</p>
|
|
104
259
|
|
|
@@ -126,14 +281,14 @@
|
|
|
126
281
|
|
|
127
282
|
<p>Creates a bookmark for the specified file or URL and copies its Hookmark URL to the clipboard.</p>
|
|
128
283
|
|
|
129
|
-
<p>The copied Hookmark URL can be used to link to other files (use
|
|
284
|
+
<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>
|
|
130
285
|
|
|
131
286
|
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
|
132
287
|
|
|
133
288
|
<h5 id="label-a-7C--app+APP_NAME">-a|–app APP_NAME<span><a href="#label-a-7C--app+APP_NAME">¶</a> <a href="#top">↑</a></span></h5>
|
|
134
289
|
|
|
135
290
|
<p>Copy from application</p>
|
|
136
|
-
<dl class="rdoc-list label-list"><dt>Default Value
|
|
291
|
+
<dl class="rdoc-list label-list"><dt>Default Value</dt>
|
|
137
292
|
<dd>
|
|
138
293
|
<p>None</p>
|
|
139
294
|
</dd></dl>
|
|
@@ -156,14 +311,14 @@
|
|
|
156
311
|
|
|
157
312
|
<p>Search bookmark urls and names for a string and output in specified format (default “paths”).</p>
|
|
158
313
|
|
|
159
|
-
<p>Run
|
|
314
|
+
<p>Run ‘hook find` with no search argument to list all bookmarks.</p>
|
|
160
315
|
|
|
161
316
|
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
|
162
317
|
|
|
163
318
|
<h5 id="label-o-7C--output_format+FORMAT">-o|–output_format FORMAT<span><a href="#label-o-7C--output_format+FORMAT">¶</a> <a href="#top">↑</a></span></h5>
|
|
164
319
|
|
|
165
320
|
<p>Output format [(h)ooks, (p)aths, (m)arkdown, (v)erbose]</p>
|
|
166
|
-
<dl class="rdoc-list label-list"><dt>Default Value
|
|
321
|
+
<dl class="rdoc-list label-list"><dt>Default Value</dt>
|
|
167
322
|
<dd>
|
|
168
323
|
<p>paths</p>
|
|
169
324
|
</dd></dl>
|
|
@@ -184,7 +339,7 @@
|
|
|
184
339
|
|
|
185
340
|
<p>Get a Hookmark URL for the frontmost window of an app</p>
|
|
186
341
|
|
|
187
|
-
<p>Specify an application by name (without
|
|
342
|
+
<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>
|
|
188
343
|
|
|
189
344
|
<p>Use -m to get the response as Markdown, and/or -c to copy the result directly to the clipboard.</p>
|
|
190
345
|
|
|
@@ -214,9 +369,9 @@
|
|
|
214
369
|
|
|
215
370
|
<p>Create bidirectional hooks between two or more files/urls</p>
|
|
216
371
|
|
|
217
|
-
<p>If two files/urls are provided, links will be bi-directional. If three or more are provided,
|
|
372
|
+
<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>
|
|
218
373
|
|
|
219
|
-
<p>If using
|
|
374
|
+
<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>
|
|
220
375
|
|
|
221
376
|
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
|
222
377
|
|
|
@@ -234,14 +389,14 @@
|
|
|
234
389
|
|
|
235
390
|
<p>Output a list of all hooks attached to given url(s) or file(s) in the specified format (default “paths”).</p>
|
|
236
391
|
|
|
237
|
-
<p>Run
|
|
392
|
+
<p>Run ‘hook list` with no file/url argument to list all bookmarks.</p>
|
|
238
393
|
|
|
239
394
|
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
|
240
395
|
|
|
241
396
|
<h5 id="label-o-7C--output_format+FORMAT">-o|–output_format FORMAT<span><a href="#label-o-7C--output_format+FORMAT">¶</a> <a href="#top">↑</a></span></h5>
|
|
242
397
|
|
|
243
398
|
<p>Output format [(h)ooks, (p)aths, (m)arkdown, (v)erbose]</p>
|
|
244
|
-
<dl class="rdoc-list label-list"><dt>Default Value
|
|
399
|
+
<dl class="rdoc-list label-list"><dt>Default Value</dt>
|
|
245
400
|
<dd>
|
|
246
401
|
<p>paths</p>
|
|
247
402
|
</dd></dl>
|
|
@@ -258,7 +413,7 @@
|
|
|
258
413
|
|
|
259
414
|
<p>Generate a menu to select hook(s) for opening</p>
|
|
260
415
|
|
|
261
|
-
<p>This option is a shortcut to
|
|
416
|
+
<p>This option is a shortcut to ‘hook select` and overrides any other arguments.</p>
|
|
262
417
|
|
|
263
418
|
<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">¶</a> <a href="#top">↑</a></span></h4>
|
|
264
419
|
|
|
@@ -272,7 +427,7 @@
|
|
|
272
427
|
|
|
273
428
|
<p>Percent encode/decode a string</p>
|
|
274
429
|
|
|
275
|
-
<p>Use encode or decode to apply Hookmark
|
|
430
|
+
<p>Use encode or decode to apply Hookmark’s url encoding to a string argument. Use ‘-’ to read input from STDIN.</p>
|
|
276
431
|
|
|
277
432
|
<h5 id="label-Commands">Commands<span><a href="#label-Commands">¶</a> <a href="#top">↑</a></span></h5>
|
|
278
433
|
|
|
@@ -290,7 +445,7 @@
|
|
|
290
445
|
|
|
291
446
|
<p>Remove a hook between two files or URLs. If you use –all, all hooks on a given file will be removed.</p>
|
|
292
447
|
|
|
293
|
-
<p>If –all isn
|
|
448
|
+
<p>If –all isn’t specified, exactly two arguments (Files/URLs) are required.</p>
|
|
294
449
|
|
|
295
450
|
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
|
296
451
|
|
|
@@ -311,17 +466,10 @@
|
|
|
311
466
|
<p>Select from hooks on a file/url and open in default application</p>
|
|
312
467
|
|
|
313
468
|
<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>
|
|
314
|
-
<dl class="rdoc-list label-list"><dt>Default Command
|
|
469
|
+
<dl class="rdoc-list label-list"><dt>Default Command</dt>
|
|
315
470
|
<dd>
|
|
316
471
|
<p>help</p>
|
|
317
472
|
</dd></dl>
|
|
318
473
|
|
|
319
474
|
</main>
|
|
320
475
|
|
|
321
|
-
|
|
322
|
-
<footer id="validator-badges" role="contentinfo">
|
|
323
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
324
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
|
|
325
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
326
|
-
</footer>
|
|
327
|
-
|
data/html/js/darkfish.js
CHANGED
|
@@ -34,7 +34,7 @@ function showSource( e ) {
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
function hookSourceViews() {
|
|
37
|
-
document.querySelectorAll('.method-
|
|
37
|
+
document.querySelectorAll('.method-source-toggle').forEach(function (codeObject) {
|
|
38
38
|
codeObject.addEventListener('click', showSource);
|
|
39
39
|
});
|
|
40
40
|
};
|
|
@@ -54,7 +54,7 @@ function hookSearch() {
|
|
|
54
54
|
var html = '';
|
|
55
55
|
|
|
56
56
|
// TODO add relative path to <script> per-page
|
|
57
|
-
html += '<p class="search-match"><a href="' + index_rel_prefix + result.path + '">' + this.hlt(result.title);
|
|
57
|
+
html += '<p class="search-match"><a href="' + index_rel_prefix + this.escapeHTML(result.path) + '">' + this.hlt(result.title);
|
|
58
58
|
if (result.params)
|
|
59
59
|
html += '<span class="params">' + result.params + '</span>';
|
|
60
60
|
html += '</a>';
|
|
@@ -78,7 +78,43 @@ function hookSearch() {
|
|
|
78
78
|
search.scrollIntoView = search.scrollInWindow;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
+
function hookFocus() {
|
|
82
|
+
document.addEventListener("keydown", (event) => {
|
|
83
|
+
if (document.activeElement.tagName === 'INPUT') {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (event.key === "/") {
|
|
87
|
+
event.preventDefault();
|
|
88
|
+
document.querySelector('#search-field').focus();
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function hookSidebar() {
|
|
94
|
+
var navigation = document.querySelector('#navigation');
|
|
95
|
+
var navigationToggle = document.querySelector('#navigation-toggle');
|
|
96
|
+
|
|
97
|
+
navigationToggle.addEventListener('click', function() {
|
|
98
|
+
navigation.hidden = !navigation.hidden;
|
|
99
|
+
navigationToggle.ariaExpanded = navigationToggle.ariaExpanded !== 'true';
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
var isSmallViewport = window.matchMedia("(max-width: 1023px)").matches;
|
|
103
|
+
if (isSmallViewport) {
|
|
104
|
+
navigation.hidden = true;
|
|
105
|
+
navigationToggle.ariaExpanded = false;
|
|
106
|
+
document.addEventListener('click', (e) => {
|
|
107
|
+
if (e.target.closest('#navigation a')) {
|
|
108
|
+
navigation.hidden = true;
|
|
109
|
+
navigationToggle.ariaExpanded = false;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
81
115
|
document.addEventListener('DOMContentLoaded', function() {
|
|
82
116
|
hookSourceViews();
|
|
83
117
|
hookSearch();
|
|
118
|
+
hookFocus();
|
|
119
|
+
hookSidebar();
|
|
84
120
|
});
|
data/html/js/navigation.js
CHANGED
|
@@ -23,24 +23,24 @@ Navigation = new function() {
|
|
|
23
23
|
|
|
24
24
|
this.onkeydown = function(e) {
|
|
25
25
|
if (!this.navigationActive) return;
|
|
26
|
-
switch(e.
|
|
27
|
-
case
|
|
26
|
+
switch(e.key) {
|
|
27
|
+
case 'ArrowLeft':
|
|
28
28
|
if (this.moveLeft()) e.preventDefault();
|
|
29
29
|
break;
|
|
30
|
-
case
|
|
31
|
-
if (e.
|
|
30
|
+
case 'ArrowUp':
|
|
31
|
+
if (e.key == 'ArrowUp' || e.ctrlKey) {
|
|
32
32
|
if (this.moveUp()) e.preventDefault();
|
|
33
33
|
}
|
|
34
34
|
break;
|
|
35
|
-
case
|
|
35
|
+
case 'ArrowRight':
|
|
36
36
|
if (this.moveRight()) e.preventDefault();
|
|
37
37
|
break;
|
|
38
|
-
case
|
|
39
|
-
if (e.
|
|
38
|
+
case 'ArrowDown':
|
|
39
|
+
if (e.key == 'ArrowDown' || e.ctrlKey) {
|
|
40
40
|
if (this.moveDown()) e.preventDefault();
|
|
41
41
|
}
|
|
42
42
|
break;
|
|
43
|
-
case
|
|
43
|
+
case 'Enter':
|
|
44
44
|
if (this.current) e.preventDefault();
|
|
45
45
|
this.select(this.current);
|
|
46
46
|
break;
|
data/html/js/navigation.js.gz
CHANGED
|
Binary file
|
data/html/js/search.js
CHANGED
|
@@ -15,9 +15,9 @@ Search.prototype = Object.assign({}, Navigation, new function() {
|
|
|
15
15
|
this.init = function() {
|
|
16
16
|
var _this = this;
|
|
17
17
|
var observer = function(e) {
|
|
18
|
-
switch(e.
|
|
19
|
-
case
|
|
20
|
-
case
|
|
18
|
+
switch(e.key) {
|
|
19
|
+
case 'ArrowUp':
|
|
20
|
+
case 'ArrowDown':
|
|
21
21
|
return;
|
|
22
22
|
}
|
|
23
23
|
_this.search(_this.input.value);
|
|
@@ -101,7 +101,7 @@ Search.prototype = Object.assign({}, Navigation, new function() {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
this.escapeHTML = function(html) {
|
|
104
|
-
return html.replace(/[&<>]/g, function(c) {
|
|
104
|
+
return html.replace(/[&<>"`']/g, function(c) {
|
|
105
105
|
return '&#' + c.charCodeAt(0) + ';';
|
|
106
106
|
});
|
|
107
107
|
}
|
data/html/js/search_index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var search_data = {"index":{"searchIndex":["app","gli","commands","doc","markdowndocumentlistener","hook","prompt","promptfzf","promptstd","hookapp","hooker","object","string","act_on()","all_bookmarks()","beginning()","bookmark_for()","bookmark_from_app()","browse_bookmarks()","browse_linked()","cap()","cap!()","clear_screen()","clip()","clip_bookmark()","clone_hooks()","command()","commands()","copy_bookmark()","decode()","default_command()","delete_all_hooks()","delete_hooks()","encode()","end_command()","end_commands()","end_options()","ending()","escape_quotes()","flag()","format_regex()","fzf()","get_hooks()","install_fzf()","link_all()","link_files()","linked_bookmarks()","new()","new()","nil_if_missing()","open_gui()","open_linked()","options()","output_array()","program_desc()","program_long_desc()","restore_std()","search_bookmarks()","search_name()","search_path_or_address()","select_hook()","silence_std()","split_hook()","split_hooks()","switch()","uninstall_fzf()","valid_hook()","valid_hook!()","validate_format()","version()","which_fzf()","readme"],"longSearchIndex":["app","gli","gli::commands","gli::commands::doc","gli::commands::markdowndocumentlistener","hook","hook::prompt","hook::promptfzf","hook::promptstd","hookapp","hooker","object","string","hookapp#act_on()","hookapp#all_bookmarks()","gli::commands::markdowndocumentlistener#beginning()","hookapp#bookmark_for()","hookapp#bookmark_from_app()","hookapp#browse_bookmarks()","hookapp#browse_linked()","string#cap()","string#cap!()","hook::promptstd#clear_screen()","string#clip()","hookapp#clip_bookmark()","hookapp#clone_hooks()","gli::commands::markdowndocumentlistener#command()","gli::commands::markdowndocumentlistener#commands()","hookapp#copy_bookmark()","hookapp#decode()","gli::commands::markdowndocumentlistener#default_command()","hookapp#delete_all_hooks()","hookapp#delete_hooks()","hookapp#encode()","gli::commands::markdowndocumentlistener#end_command()","gli::commands::markdowndocumentlistener#end_commands()","gli::commands::markdowndocumentlistener#end_options()","gli::commands::markdowndocumentlistener#ending()","string#escape_quotes()","gli::commands::markdowndocumentlistener#flag()","hookapp#format_regex()","hook::promptfzf#fzf()","hookapp#get_hooks()","hook::promptfzf#install_fzf()","hookapp#link_all()","hookapp#link_files()","hookapp#linked_bookmarks()","gli::commands::markdowndocumentlistener::new()","hooker::new()","string#nil_if_missing()","hookapp#open_gui()","hookapp#open_linked()","gli::commands::markdowndocumentlistener#options()","hookapp#output_array()","gli::commands::markdowndocumentlistener#program_desc()","gli::commands::markdowndocumentlistener#program_long_desc()","hook::promptstd#restore_std()","hookapp#search_bookmarks()","hookapp#search_name()","hookapp#search_path_or_address()","hookapp#select_hook()","hook::promptstd#silence_std()","string#split_hook()","string#split_hooks()","gli::commands::markdowndocumentlistener#switch()","hook::promptfzf#uninstall_fzf()","string#valid_hook()","string#valid_hook!()","hookapp#validate_format()","gli::commands::markdowndocumentlistener#version()","hook::promptfzf#which_fzf()",""],"info":[["App","","App.html","","<p>Main class for GLI app\n"],["GLI","","GLI.html","",""],["GLI::Commands","","GLI/Commands.html","",""],["GLI::Commands::Doc","","GLI/Commands/Doc.html","",""],["GLI::Commands::MarkdownDocumentListener","","GLI/Commands/MarkdownDocumentListener.html","","<p>DocumentListener class for GLI documentation generator\n"],["Hook","","Hook.html","",""],["Hook::Prompt","","Hook/Prompt.html","",""],["Hook::PromptFZF","","Hook/PromptFZF.html","","<p>Methods for working installing/using FuzzyFileFinder\n"],["Hook::PromptSTD","","Hook/PromptSTD.html","",""],["HookApp","","HookApp.html","","<p>Hook.app functions\n"],["Hooker","","Hooker.html","","<p>Hook.app CLI interface\n"],["Object","","Object.html","",""],["String","","String.html","","<p>String helpers\n"],["act_on","HookApp","HookApp.html#method-i-act_on","(url)",""],["all_bookmarks","HookApp","HookApp.html#method-i-all_bookmarks","()","<p>Get all known bookmarks. Return array of bookmark hashes.\n"],["beginning","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-beginning","()",""],["bookmark_for","HookApp","HookApp.html#method-i-bookmark_for","(url)","<p>Get a Hook bookmark for file or URL. Return bookmark hash.\n"],["bookmark_from_app","HookApp","HookApp.html#method-i-bookmark_from_app","(app, opts)","<p>Get a bookmark from the foreground document of specified app.\n"],["browse_bookmarks","HookApp","HookApp.html#method-i-browse_bookmarks","(glob)",""],["browse_linked","HookApp","HookApp.html#method-i-browse_linked","(url)","<p>Select from a menu of available hooks and open using macOS `open`.\n"],["cap","String","String.html#method-i-cap","()","<p>Capitalize only if no uppercase\n"],["cap!","String","String.html#method-i-cap-21","()",""],["clear_screen","Hook::PromptSTD","Hook/PromptSTD.html#method-i-clear_screen","(msg = nil)","<p>Clear the terminal screen\n"],["clip","String","String.html#method-i-clip","()",""],["clip_bookmark","HookApp","HookApp.html#method-i-clip_bookmark","(url, opts)","<p>Create a bookmark for specified file/url and copy to the clipboard.\n"],["clone_hooks","HookApp","HookApp.html#method-i-clone_hooks","(args)","<p>Copy all hooks from source file to target file\n"],["command","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-command","(name, aliases, desc, long_desc, arg_name, arg_options)","<p>Gives you a command in the current context and creates a new context of this command\n"],["commands","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-commands","()",""],["copy_bookmark","HookApp","HookApp.html#method-i-copy_bookmark","(title, url, opts)","<p>Create a bookmark from specified title and url and copy to the clipboard.\n"],["decode","HookApp","HookApp.html#method-i-decode","(string)",""],["default_command","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-default_command","(name)","<p>Gives you the name of the current command in the current context\n"],["delete_all_hooks","HookApp","HookApp.html#method-i-delete_all_hooks","(url, force: false)","<p>Delete all hooked files/urls from target file\n"],["delete_hooks","HookApp","HookApp.html#method-i-delete_hooks","(args, opts)","<p>Delete hooks between two files/urls\n"],["encode","HookApp","HookApp.html#method-i-encode","(string)",""],["end_command","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-end_command","(_name)","<p>Ends a command, and “pops” you back up one context\n"],["end_commands","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-end_commands","()",""],["end_options","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-end_options","()",""],["ending","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-ending","()","<p>Called when processing has completed\n"],["escape_quotes","String","String.html#method-i-escape_quotes","()",""],["flag","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-flag","(name, aliases, desc, long_desc, default_value, arg_name, must_match, _type)","<p>Gives you a flag in the current context\n"],["format_regex","HookApp","HookApp.html#method-i-format_regex","(options)","<p>Create a single regex for validation of an array by first char or full match.\n"],["fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-fzf","()","<p>Get path to fzf binary, installing if needed\n<p>@return [String] Path to fzf binary\n"],["get_hooks","HookApp","HookApp.html#method-i-get_hooks","(url)","<p>Get bookmarks hooked to file or URL. Return array of bookmark hashes.\n"],["install_fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-install_fzf","(force: false)","<p>Install fzf on the current system. Installs to a subdirectory of the gem\n<p>@param force [Boolean] …\n"],["link_all","HookApp","HookApp.html#method-i-link_all","(args)","<p>Create bi-directional links between every file/url in the list of arguments\n"],["link_files","HookApp","HookApp.html#method-i-link_files","(args)","<p>Link 2 or more files/urls with bi-directional hooks.\n"],["linked_bookmarks","HookApp","HookApp.html#method-i-linked_bookmarks","(args, opts)","<p>Get a list of all hooks on a file/url.\n"],["new","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-c-new","(_global_options, _options, _arguments, app)",""],["new","Hooker","Hooker.html#method-c-new","()",""],["nil_if_missing","String","String.html#method-i-nil_if_missing","()",""],["open_gui","HookApp","HookApp.html#method-i-open_gui","(url)","<p>Open the Hook GUI for browsing/performing actions on a file or url\n"],["open_linked","HookApp","HookApp.html#method-i-open_linked","(url)","<p>Select from a menu of available hooks and open using macOS `open`.\n"],["options","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-options","()",""],["output_array","HookApp","HookApp.html#method-i-output_array","(hooks_arr, opts)","<p>Output an array of hooks in the given format.\n"],["program_desc","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-program_desc","(desc)","<p>Gives you the program description\n"],["program_long_desc","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-program_long_desc","(desc)",""],["restore_std","Hook::PromptSTD","Hook/PromptSTD.html#method-i-restore_std","()","<p>Restore silenced STDOUT and STDERR\n"],["search_bookmarks","HookApp","HookApp.html#method-i-search_bookmarks","(search, opts)","<p>Search bookmarks, using both names and addresses unless options contain “:names_only”. Return …\n"],["search_name","HookApp","HookApp.html#method-i-search_name","(search)","<p>Search boomark names/titles. Return array of bookmark hashes.\n"],["search_path_or_address","HookApp","HookApp.html#method-i-search_path_or_address","(search)","<p>Search bookmark paths and addresses. Return array of bookmark hashes.\n"],["select_hook","HookApp","HookApp.html#method-i-select_hook","(marks)","<p>Generate a menu of available hooks for selecting one or more hooks to operate on. Revamped to use `fzf`, …\n"],["silence_std","Hook::PromptSTD","Hook/PromptSTD.html#method-i-silence_std","(file = '/dev/null')","<p>Redirect STDOUT and STDERR to /dev/null or file\n<p>@param file [String] a file path to redirect to …\n"],["split_hook","String","String.html#method-i-split_hook","()",""],["split_hooks","String","String.html#method-i-split_hooks","()",""],["switch","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-switch","(name, aliases, desc, long_desc, negatable)","<p>Gives you a switch in the current context\n"],["uninstall_fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-uninstall_fzf","()","<p>Remove fzf binary\n"],["valid_hook","String","String.html#method-i-valid_hook","()",""],["valid_hook!","String","String.html#method-i-valid_hook-21","()",""],["validate_format","HookApp","HookApp.html#method-i-validate_format","(fmt, options)","<p>Check if format fully matches or matches the first character of available options. Return full valid …\n"],["version","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-version","(version)","<p>Gives you the program version\n"],["which_fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-which_fzf","()","<p>Return the path to the fzf binary\n<p>@return [String] Path to fzf\n"],["README","","README_rdoc.html","","<p>hookapp\n<p>A CLI for Hookmark on macOS.\n<p>hook - CLI interface for Hookmark (macOS)\n"]]}}
|
|
1
|
+
var search_data = {"index":{"searchIndex":["app","gli","commands","doc","markdowndocumentlistener","hook","prompt","promptfzf","promptstd","hookapp","hooker","object","string","act_on()","all_bookmarks()","beginning()","bookmark_for()","bookmark_from_app()","browse_bookmarks()","browse_linked()","cap()","cap!()","clear_screen()","clip()","clip_bookmark()","clone_hooks()","command()","commands()","copy_bookmark()","decode()","default_command()","delete_all_hooks()","delete_hooks()","encode()","end_command()","end_commands()","end_options()","ending()","escape_quotes()","flag()","format_regex()","fzf()","get_hooks()","install_fzf()","link_all()","link_files()","linked_bookmarks()","new()","new()","nil_if_missing()","open_gui()","open_linked()","options()","output_array()","program_desc()","program_long_desc()","restore_std()","search_bookmarks()","search_name()","search_path_or_address()","select_hook()","silence_std()","split_hook()","split_hooks()","switch()","uninstall_fzf()","valid_hook()","valid_hook!()","validate_format()","version()","which_fzf()","readme"],"longSearchIndex":["app","gli","gli::commands","gli::commands::doc","gli::commands::markdowndocumentlistener","hook","hook::prompt","hook::promptfzf","hook::promptstd","hookapp","hooker","object","string","hookapp#act_on()","hookapp#all_bookmarks()","gli::commands::markdowndocumentlistener#beginning()","hookapp#bookmark_for()","hookapp#bookmark_from_app()","hookapp#browse_bookmarks()","hookapp#browse_linked()","string#cap()","string#cap!()","hook::promptstd#clear_screen()","string#clip()","hookapp#clip_bookmark()","hookapp#clone_hooks()","gli::commands::markdowndocumentlistener#command()","gli::commands::markdowndocumentlistener#commands()","hookapp#copy_bookmark()","hookapp#decode()","gli::commands::markdowndocumentlistener#default_command()","hookapp#delete_all_hooks()","hookapp#delete_hooks()","hookapp#encode()","gli::commands::markdowndocumentlistener#end_command()","gli::commands::markdowndocumentlistener#end_commands()","gli::commands::markdowndocumentlistener#end_options()","gli::commands::markdowndocumentlistener#ending()","string#escape_quotes()","gli::commands::markdowndocumentlistener#flag()","hookapp#format_regex()","hook::promptfzf#fzf()","hookapp#get_hooks()","hook::promptfzf#install_fzf()","hookapp#link_all()","hookapp#link_files()","hookapp#linked_bookmarks()","gli::commands::markdowndocumentlistener::new()","hooker::new()","string#nil_if_missing()","hookapp#open_gui()","hookapp#open_linked()","gli::commands::markdowndocumentlistener#options()","hookapp#output_array()","gli::commands::markdowndocumentlistener#program_desc()","gli::commands::markdowndocumentlistener#program_long_desc()","hook::promptstd#restore_std()","hookapp#search_bookmarks()","hookapp#search_name()","hookapp#search_path_or_address()","hookapp#select_hook()","hook::promptstd#silence_std()","string#split_hook()","string#split_hooks()","gli::commands::markdowndocumentlistener#switch()","hook::promptfzf#uninstall_fzf()","string#valid_hook()","string#valid_hook!()","hookapp#validate_format()","gli::commands::markdowndocumentlistener#version()","hook::promptfzf#which_fzf()",""],"info":[["App","","App.html","","<p>Main class for GLI app\n"],["GLI","","GLI.html","",""],["GLI::Commands","","GLI/Commands.html","",""],["GLI::Commands::Doc","","GLI/Commands/Doc.html","",""],["GLI::Commands::MarkdownDocumentListener","","GLI/Commands/MarkdownDocumentListener.html","","<p>DocumentListener class for GLI documentation generator\n"],["Hook","","Hook.html","",""],["Hook::Prompt","","Hook/Prompt.html","",""],["Hook::PromptFZF","","Hook/PromptFZF.html","","<p>Methods for working installing/using FuzzyFileFinder\n"],["Hook::PromptSTD","","Hook/PromptSTD.html","",""],["HookApp","","HookApp.html","","<p>Hook.app functions\n"],["Hooker","","Hooker.html","","<p>Hook.app CLI interface\n"],["Object","","Object.html","",""],["String","","String.html","","<p>String helpers\n"],["act_on","HookApp","HookApp.html#method-i-act_on","(url)",""],["all_bookmarks","HookApp","HookApp.html#method-i-all_bookmarks","()","<p>Get all known bookmarks. Return array of bookmark hashes.\n"],["beginning","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-beginning","()",""],["bookmark_for","HookApp","HookApp.html#method-i-bookmark_for","(url)","<p>Get a Hook bookmark for file or URL. Return bookmark hash.\n"],["bookmark_from_app","HookApp","HookApp.html#method-i-bookmark_from_app","(app, opts)","<p>Get a bookmark from the foreground document of specified app.\n"],["browse_bookmarks","HookApp","HookApp.html#method-i-browse_bookmarks","(glob)",""],["browse_linked","HookApp","HookApp.html#method-i-browse_linked","(url)","<p>Select from a menu of available hooks and open using macOS ‘open`.\n"],["cap","String","String.html#method-i-cap","()","<p>Capitalize only if no uppercase\n"],["cap!","String","String.html#method-i-cap-21","()",""],["clear_screen","Hook::PromptSTD","Hook/PromptSTD.html#method-i-clear_screen","(msg = nil)","<p>Clear the terminal screen\n"],["clip","String","String.html#method-i-clip","()",""],["clip_bookmark","HookApp","HookApp.html#method-i-clip_bookmark","(url, opts)","<p>Create a bookmark for specified file/url and copy to the clipboard.\n"],["clone_hooks","HookApp","HookApp.html#method-i-clone_hooks","(args)","<p>Copy all hooks from source file to target file\n"],["command","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-command","(name, aliases, desc, long_desc, arg_name, arg_options)","<p>Gives you a command in the current context and creates a new context of this command\n"],["commands","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-commands","()",""],["copy_bookmark","HookApp","HookApp.html#method-i-copy_bookmark","(title, url, opts)","<p>Create a bookmark from specified title and url and copy to the clipboard.\n"],["decode","HookApp","HookApp.html#method-i-decode","(string)",""],["default_command","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-default_command","(name)","<p>Gives you the name of the current command in the current context\n"],["delete_all_hooks","HookApp","HookApp.html#method-i-delete_all_hooks","(url, force: false)","<p>Delete all hooked files/urls from target file\n"],["delete_hooks","HookApp","HookApp.html#method-i-delete_hooks","(args, opts)","<p>Delete hooks between two files/urls\n"],["encode","HookApp","HookApp.html#method-i-encode","(string)",""],["end_command","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-end_command","(_name)","<p>Ends a command, and “pops” you back up one context\n"],["end_commands","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-end_commands","()",""],["end_options","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-end_options","()",""],["ending","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-ending","()","<p>Called when processing has completed\n"],["escape_quotes","String","String.html#method-i-escape_quotes","()",""],["flag","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-flag","(name, aliases, desc, long_desc, default_value, arg_name, must_match, _type)","<p>Gives you a flag in the current context\n"],["format_regex","HookApp","HookApp.html#method-i-format_regex","(options)","<p>Create a single regex for validation of an array by first char or full match.\n"],["fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-fzf","()","<p>Get path to fzf binary, installing if needed\n<p>@return [String] Path to fzf binary\n"],["get_hooks","HookApp","HookApp.html#method-i-get_hooks","(url)","<p>Get bookmarks hooked to file or URL. Return array of bookmark hashes.\n"],["install_fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-install_fzf","(force: false)","<p>Install fzf on the current system. Installs to a subdirectory of the gem\n<p>@param force [Boolean] …\n"],["link_all","HookApp","HookApp.html#method-i-link_all","(args)","<p>Create bi-directional links between every file/url in the list of arguments\n"],["link_files","HookApp","HookApp.html#method-i-link_files","(args)","<p>Link 2 or more files/urls with bi-directional hooks.\n"],["linked_bookmarks","HookApp","HookApp.html#method-i-linked_bookmarks","(args, opts)","<p>Get a list of all hooks on a file/url.\n"],["new","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-c-new","(_global_options, _options, _arguments, app)",""],["new","Hooker","Hooker.html#method-c-new","()",""],["nil_if_missing","String","String.html#method-i-nil_if_missing","()",""],["open_gui","HookApp","HookApp.html#method-i-open_gui","(url)","<p>Open the Hook GUI for browsing/performing actions on a file or url\n"],["open_linked","HookApp","HookApp.html#method-i-open_linked","(url)","<p>Select from a menu of available hooks and open using macOS ‘open`.\n"],["options","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-options","()",""],["output_array","HookApp","HookApp.html#method-i-output_array","(hooks_arr, opts)","<p>Output an array of hooks in the given format.\n"],["program_desc","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-program_desc","(desc)","<p>Gives you the program description\n"],["program_long_desc","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-program_long_desc","(desc)",""],["restore_std","Hook::PromptSTD","Hook/PromptSTD.html#method-i-restore_std","()","<p>Restore silenced STDOUT and STDERR\n"],["search_bookmarks","HookApp","HookApp.html#method-i-search_bookmarks","(search, opts)","<p>Search bookmarks, using both names and addresses unless options contain “:names_only”. Return …\n"],["search_name","HookApp","HookApp.html#method-i-search_name","(search)","<p>Search boomark names/titles. Return array of bookmark hashes.\n"],["search_path_or_address","HookApp","HookApp.html#method-i-search_path_or_address","(search)","<p>Search bookmark paths and addresses. Return array of bookmark hashes.\n"],["select_hook","HookApp","HookApp.html#method-i-select_hook","(marks)","<p>Generate a menu of available hooks for selecting one or more hooks to operate on. Revamped to use ‘fzf`, …\n"],["silence_std","Hook::PromptSTD","Hook/PromptSTD.html#method-i-silence_std","(file = '/dev/null')","<p>Redirect STDOUT and STDERR to /dev/null or file\n<p>@param file [String] a file path to redirect to …\n"],["split_hook","String","String.html#method-i-split_hook","()",""],["split_hooks","String","String.html#method-i-split_hooks","()",""],["switch","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-switch","(name, aliases, desc, long_desc, negatable)","<p>Gives you a switch in the current context\n"],["uninstall_fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-uninstall_fzf","()","<p>Remove fzf binary\n"],["valid_hook","String","String.html#method-i-valid_hook","()",""],["valid_hook!","String","String.html#method-i-valid_hook-21","()",""],["validate_format","HookApp","HookApp.html#method-i-validate_format","(fmt, options)","<p>Check if format fully matches or matches the first character of available options. Return full valid …\n"],["version","GLI::Commands::MarkdownDocumentListener","GLI/Commands/MarkdownDocumentListener.html#method-i-version","(version)","<p>Gives you the program version\n"],["which_fzf","Hook::PromptFZF","Hook/PromptFZF.html#method-i-which_fzf","()","<p>Return the path to the fzf binary\n<p>@return [String] Path to fzf\n"],["README","","README_rdoc.html","","<p>hookapp\n<p>A CLI for Hookmark on macOS.\n<p>hook - CLI interface for Hookmark (macOS)\n"]]}}
|
data/html/js/search_index.js.gz
CHANGED
|
Binary file
|
data/html/js/searcher.js.gz
CHANGED
|
Binary file
|