hookapp 2.0.7 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS.md +4 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +35 -40
- data/LICENSE +21 -0
- data/README.md +32 -22
- data/bin/hook +57 -67
- data/hook.rdoc +16 -11
- data/hookapp.gemspec +1 -0
- data/html/App.html +107 -0
- data/html/GLI/Commands/Doc.html +91 -0
- data/html/GLI/Commands/MarkdownDocumentListener.html +521 -0
- data/html/GLI/Commands.html +91 -0
- data/html/GLI.html +91 -0
- data/html/Hook/Prompt.html +100 -0
- data/html/Hook/PromptFZF.html +243 -0
- data/html/Hook/PromptSTD.html +177 -0
- data/html/Hook.html +100 -0
- data/html/HookApp.html +1008 -0
- data/html/Hooker.html +141 -0
- data/html/README_rdoc.html +354 -0
- data/html/String.html +335 -0
- data/html/created.rid +10 -0
- data/html/css/fonts.css +167 -0
- data/html/css/rdoc.css +639 -0
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/brick.png +0 -0
- data/html/images/brick_link.png +0 -0
- data/html/images/bug.png +0 -0
- data/html/images/bullet_black.png +0 -0
- data/html/images/bullet_toggle_minus.png +0 -0
- data/html/images/bullet_toggle_plus.png +0 -0
- data/html/images/date.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/find.png +0 -0
- data/html/images/loadingAnimation.gif +0 -0
- data/html/images/macFFBgHack.png +0 -0
- data/html/images/package.png +0 -0
- data/html/images/page_green.png +0 -0
- data/html/images/page_white_text.png +0 -0
- data/html/images/page_white_width.png +0 -0
- data/html/images/plugin.png +0 -0
- data/html/images/ruby.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/images/tag_green.png +0 -0
- data/html/images/transparent.png +0 -0
- data/html/images/wrench.png +0 -0
- data/html/images/wrench_orange.png +0 -0
- data/html/images/zoom.png +0 -0
- data/html/index.html +320 -0
- data/html/js/darkfish.js +84 -0
- data/html/js/navigation.js +105 -0
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +110 -0
- data/html/js/search_index.js +1 -0
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js +229 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +409 -0
- data/lib/hook/hookapp.rb +11 -12
- data/lib/hook/hooker.rb +1 -0
- data/lib/hook/markdown_document_listener.rb +12 -2
- data/lib/hook/prompt.rb +113 -0
- data/lib/hook/version.rb +1 -1
- data/lib/hook.rb +2 -0
- data/test/hook_clip_test.rb +1 -1
- data/test/hook_link_test.rb +2 -1
- data/test/hook_scripts_test.rb +1 -1
- metadata +82 -3
- data/lib/helpers/fuzzyfilefinder +0 -0
data/html/js/searcher.js
ADDED
@@ -0,0 +1,229 @@
|
|
1
|
+
Searcher = function(data) {
|
2
|
+
this.data = data;
|
3
|
+
this.handlers = [];
|
4
|
+
}
|
5
|
+
|
6
|
+
Searcher.prototype = new function() {
|
7
|
+
// search is performed in chunks of 1000 for non-blocking user input
|
8
|
+
var CHUNK_SIZE = 1000;
|
9
|
+
// do not try to find more than 100 results
|
10
|
+
var MAX_RESULTS = 100;
|
11
|
+
var huid = 1;
|
12
|
+
var suid = 1;
|
13
|
+
var runs = 0;
|
14
|
+
|
15
|
+
this.find = function(query) {
|
16
|
+
var queries = splitQuery(query);
|
17
|
+
var regexps = buildRegexps(queries);
|
18
|
+
var highlighters = buildHilighters(queries);
|
19
|
+
var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};
|
20
|
+
var _this = this;
|
21
|
+
|
22
|
+
this.currentSuid = state.n;
|
23
|
+
|
24
|
+
if (!query) return;
|
25
|
+
|
26
|
+
var run = function() {
|
27
|
+
// stop current search thread if new search started
|
28
|
+
if (state.n != _this.currentSuid) return;
|
29
|
+
|
30
|
+
var results =
|
31
|
+
performSearch(_this.data, regexps, queries, highlighters, state);
|
32
|
+
var hasMore = (state.limit > 0 && state.pass < 4);
|
33
|
+
|
34
|
+
triggerResults.call(_this, results, !hasMore);
|
35
|
+
if (hasMore) {
|
36
|
+
setTimeout(run, 2);
|
37
|
+
}
|
38
|
+
runs++;
|
39
|
+
};
|
40
|
+
runs = 0;
|
41
|
+
|
42
|
+
// start search thread
|
43
|
+
run();
|
44
|
+
}
|
45
|
+
|
46
|
+
/* ----- Events ------ */
|
47
|
+
this.ready = function(fn) {
|
48
|
+
fn.huid = huid;
|
49
|
+
this.handlers.push(fn);
|
50
|
+
}
|
51
|
+
|
52
|
+
/* ----- Utilities ------ */
|
53
|
+
function splitQuery(query) {
|
54
|
+
return query.split(/(\s+|::?|\(\)?)/).filter(function(string) {
|
55
|
+
return string.match(/\S/);
|
56
|
+
});
|
57
|
+
}
|
58
|
+
|
59
|
+
function buildRegexps(queries) {
|
60
|
+
return queries.map(function(query) {
|
61
|
+
return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i');
|
62
|
+
});
|
63
|
+
}
|
64
|
+
|
65
|
+
function buildHilighters(queries) {
|
66
|
+
return queries.map(function(query) {
|
67
|
+
return query.split('').map(function(l, i) {
|
68
|
+
return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
|
69
|
+
}).join('');
|
70
|
+
});
|
71
|
+
}
|
72
|
+
|
73
|
+
// function longMatchRegexp(index, longIndex, regexps) {
|
74
|
+
// for (var i = regexps.length - 1; i >= 0; i--){
|
75
|
+
// if (!index.match(regexps[i]) && !longIndex.match(regexps[i])) return false;
|
76
|
+
// };
|
77
|
+
// return true;
|
78
|
+
// }
|
79
|
+
|
80
|
+
|
81
|
+
/* ----- Mathchers ------ */
|
82
|
+
|
83
|
+
/*
|
84
|
+
* This record matches if the index starts with queries[0] and the record
|
85
|
+
* matches all of the regexps
|
86
|
+
*/
|
87
|
+
function matchPassBeginning(index, longIndex, queries, regexps) {
|
88
|
+
if (index.indexOf(queries[0]) != 0) return false;
|
89
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
90
|
+
if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
|
91
|
+
return false;
|
92
|
+
};
|
93
|
+
return true;
|
94
|
+
}
|
95
|
+
|
96
|
+
/*
|
97
|
+
* This record matches if the longIndex starts with queries[0] and the
|
98
|
+
* longIndex matches all of the regexps
|
99
|
+
*/
|
100
|
+
function matchPassLongIndex(index, longIndex, queries, regexps) {
|
101
|
+
if (longIndex.indexOf(queries[0]) != 0) return false;
|
102
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
103
|
+
if (!longIndex.match(regexps[i]))
|
104
|
+
return false;
|
105
|
+
};
|
106
|
+
return true;
|
107
|
+
}
|
108
|
+
|
109
|
+
/*
|
110
|
+
* This record matches if the index contains queries[0] and the record
|
111
|
+
* matches all of the regexps
|
112
|
+
*/
|
113
|
+
function matchPassContains(index, longIndex, queries, regexps) {
|
114
|
+
if (index.indexOf(queries[0]) == -1) return false;
|
115
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
116
|
+
if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
|
117
|
+
return false;
|
118
|
+
};
|
119
|
+
return true;
|
120
|
+
}
|
121
|
+
|
122
|
+
/*
|
123
|
+
* This record matches if regexps[0] matches the index and the record
|
124
|
+
* matches all of the regexps
|
125
|
+
*/
|
126
|
+
function matchPassRegexp(index, longIndex, queries, regexps) {
|
127
|
+
if (!index.match(regexps[0])) return false;
|
128
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
129
|
+
if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
|
130
|
+
return false;
|
131
|
+
};
|
132
|
+
return true;
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
/* ----- Highlighters ------ */
|
137
|
+
function highlightRegexp(info, queries, regexps, highlighters) {
|
138
|
+
var result = createResult(info);
|
139
|
+
for (var i=0, l = regexps.length; i < l; i++) {
|
140
|
+
result.title = result.title.replace(regexps[i], highlighters[i]);
|
141
|
+
result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
|
142
|
+
};
|
143
|
+
return result;
|
144
|
+
}
|
145
|
+
|
146
|
+
function hltSubstring(string, pos, length) {
|
147
|
+
return string.substring(0, pos) + '\u0001' + string.substring(pos, pos + length) + '\u0002' + string.substring(pos + length);
|
148
|
+
}
|
149
|
+
|
150
|
+
function highlightQuery(info, queries, regexps, highlighters) {
|
151
|
+
var result = createResult(info);
|
152
|
+
var pos = 0;
|
153
|
+
var lcTitle = result.title.toLowerCase();
|
154
|
+
|
155
|
+
pos = lcTitle.indexOf(queries[0]);
|
156
|
+
if (pos != -1) {
|
157
|
+
result.title = hltSubstring(result.title, pos, queries[0].length);
|
158
|
+
}
|
159
|
+
|
160
|
+
result.namespace = result.namespace.replace(regexps[0], highlighters[0]);
|
161
|
+
for (var i=1, l = regexps.length; i < l; i++) {
|
162
|
+
result.title = result.title.replace(regexps[i], highlighters[i]);
|
163
|
+
result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
|
164
|
+
};
|
165
|
+
return result;
|
166
|
+
}
|
167
|
+
|
168
|
+
function createResult(info) {
|
169
|
+
var result = {};
|
170
|
+
result.title = info[0];
|
171
|
+
result.namespace = info[1];
|
172
|
+
result.path = info[2];
|
173
|
+
result.params = info[3];
|
174
|
+
result.snippet = info[4];
|
175
|
+
result.badge = info[6];
|
176
|
+
return result;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* ----- Searching ------ */
|
180
|
+
function performSearch(data, regexps, queries, highlighters, state) {
|
181
|
+
var searchIndex = data.searchIndex;
|
182
|
+
var longSearchIndex = data.longSearchIndex;
|
183
|
+
var info = data.info;
|
184
|
+
var result = [];
|
185
|
+
var i = state.from;
|
186
|
+
var l = searchIndex.length;
|
187
|
+
var togo = CHUNK_SIZE;
|
188
|
+
var matchFunc, hltFunc;
|
189
|
+
|
190
|
+
while (state.pass < 4 && state.limit > 0 && togo > 0) {
|
191
|
+
if (state.pass == 0) {
|
192
|
+
matchFunc = matchPassBeginning;
|
193
|
+
hltFunc = highlightQuery;
|
194
|
+
} else if (state.pass == 1) {
|
195
|
+
matchFunc = matchPassLongIndex;
|
196
|
+
hltFunc = highlightQuery;
|
197
|
+
} else if (state.pass == 2) {
|
198
|
+
matchFunc = matchPassContains;
|
199
|
+
hltFunc = highlightQuery;
|
200
|
+
} else if (state.pass == 3) {
|
201
|
+
matchFunc = matchPassRegexp;
|
202
|
+
hltFunc = highlightRegexp;
|
203
|
+
}
|
204
|
+
|
205
|
+
for (; togo > 0 && i < l && state.limit > 0; i++, togo--) {
|
206
|
+
if (info[i].n == state.n) continue;
|
207
|
+
if (matchFunc(searchIndex[i], longSearchIndex[i], queries, regexps)) {
|
208
|
+
info[i].n = state.n;
|
209
|
+
result.push(hltFunc(info[i], queries, regexps, highlighters));
|
210
|
+
state.limit--;
|
211
|
+
}
|
212
|
+
};
|
213
|
+
if (searchIndex.length <= i) {
|
214
|
+
state.pass++;
|
215
|
+
i = state.from = 0;
|
216
|
+
} else {
|
217
|
+
state.from = i;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
return result;
|
221
|
+
}
|
222
|
+
|
223
|
+
function triggerResults(results, isLast) {
|
224
|
+
this.handlers.forEach(function(fn) {
|
225
|
+
fn.call(this, results, isLast)
|
226
|
+
});
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
Binary file
|
@@ -0,0 +1,409 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Table of Contents - hookapp</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "./";
|
11
|
+
var index_rel_prefix = "./";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="./js/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" class="table-of-contents">
|
25
|
+
<main role="main">
|
26
|
+
<h1 class="class">Table of Contents - hookapp</h1>
|
27
|
+
|
28
|
+
<h2 id="pages">Pages</h2>
|
29
|
+
<ul>
|
30
|
+
<li class="file">
|
31
|
+
<a href="README_rdoc.html">README</a>
|
32
|
+
|
33
|
+
<ul>
|
34
|
+
<li><a href="README_rdoc.html#label-hookapp">hookapp</a>
|
35
|
+
<li><a href="README_rdoc.html#label-hook+-+CLI+interface+for+Hook.app+-28macOS-29">hook - CLI interface for Hook.app (macOS)</a>
|
36
|
+
<li><a href="README_rdoc.html#label-Global+Options">Global Options</a>
|
37
|
+
<li><a href="README_rdoc.html#label--help">–help</a>
|
38
|
+
<li><a href="README_rdoc.html#label--version">–version</a>
|
39
|
+
<li><a href="README_rdoc.html#label-Commands">Commands</a>
|
40
|
+
<li><a href="README_rdoc.html#label-Command-3A+clip-7Ccp++FILE_OR_URL">Command: <code>clip|cp FILE_OR_URL</code></a>
|
41
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
42
|
+
<li><a href="README_rdoc.html#label-a-7C--app+APP_NAME">-a|–app APP_NAME</a>
|
43
|
+
<li><a href="README_rdoc.html#label-m-7C--markdown">-m|–markdown</a>
|
44
|
+
<li><a href="README_rdoc.html#label-Command-3A+clone++SOURCE+TARGET">Command: <code>clone SOURCE TARGET</code></a>
|
45
|
+
<li><a href="README_rdoc.html#label-Command-3A+find-7Csearch++-5BSEARCH_STRING-5D">Command: <code>find|search [SEARCH_STRING]</code></a>
|
46
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
47
|
+
<li><a href="README_rdoc.html#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
|
48
|
+
<li><a href="README_rdoc.html#label-f-7C--files_only">-f|–files_only</a>
|
49
|
+
<li><a href="README_rdoc.html#label-n-7C--names_only">-n|–names_only</a>
|
50
|
+
<li><a href="README_rdoc.html#label--null">–null</a>
|
51
|
+
<li><a href="README_rdoc.html#label-Command-3A+from++APPLICATION_NAME">Command: <code>from APPLICATION_NAME</code></a>
|
52
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
53
|
+
<li><a href="README_rdoc.html#label-c-7C--copy">-c|–copy</a>
|
54
|
+
<li><a href="README_rdoc.html#label-m-7C--markdown">-m|–markdown</a>
|
55
|
+
<li><a href="README_rdoc.html#label-Command-3A+help++command">Command: <code>help command</code></a>
|
56
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
57
|
+
<li><a href="README_rdoc.html#label-c">-c</a>
|
58
|
+
<li><a href="README_rdoc.html#label-Command-3A+link-7Cln++SOURCE...+TARGET">Command: <code>link|ln SOURCE... TARGET</code></a>
|
59
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
60
|
+
<li><a href="README_rdoc.html#label-a-7C--all">-a|–all</a>
|
61
|
+
<li><a href="README_rdoc.html#label-p-7C--paste">-p|–paste</a>
|
62
|
+
<li><a href="README_rdoc.html#label-Command-3A+list-7Cls++-5BFILE_OR_URL-5D...">Command: <code>list|ls [FILE_OR_URL]...</code></a>
|
63
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
64
|
+
<li><a href="README_rdoc.html#label-o-7C--output_format+FORMAT">-o|–output_format FORMAT</a>
|
65
|
+
<li><a href="README_rdoc.html#label-f-7C--files_only">-f|–files_only</a>
|
66
|
+
<li><a href="README_rdoc.html#label--null">–null</a>
|
67
|
+
<li><a href="README_rdoc.html#label-s-7C--select">-<a href="no-">s|–</a>select</a>
|
68
|
+
<li><a href="README_rdoc.html#label-Command-3A+open-7Cgui++FILE_OR_URL">Command: <code>open|gui FILE_OR_URL</code></a>
|
69
|
+
<li><a href="README_rdoc.html#label-Command-3A+percent++STRING">Command: <code>percent STRING</code></a>
|
70
|
+
<li><a href="README_rdoc.html#label-Commands">Commands</a>
|
71
|
+
<li><a href="README_rdoc.html#label-Command-3A+decode++STRING">Command: <code>decode STRING</code></a>
|
72
|
+
<li><a href="README_rdoc.html#label-Command-3A+encode++STRING">Command: <code>encode STRING</code></a>
|
73
|
+
<li><a href="README_rdoc.html#label-Command-3A+remove-7Crm++FILE_OR_URL...">Command: <code>remove|rm FILE_OR_URL...</code></a>
|
74
|
+
<li><a href="README_rdoc.html#label-Options">Options</a>
|
75
|
+
<li><a href="README_rdoc.html#label-a-7C--all">-a|–all</a>
|
76
|
+
<li><a href="README_rdoc.html#label-f-7C--force">-f|–force</a>
|
77
|
+
<li><a href="README_rdoc.html#label-Command-3A+scripts++SHELL">Command: <code>scripts SHELL</code></a>
|
78
|
+
<li><a href="README_rdoc.html#label-Command-3A+select++FILE_OR_URL">Command: <code>select FILE_OR_URL</code></a>
|
79
|
+
</ul>
|
80
|
+
</li>
|
81
|
+
</ul>
|
82
|
+
|
83
|
+
<h2 id="classes">Classes and Modules</h2>
|
84
|
+
<ul>
|
85
|
+
<li class="class">
|
86
|
+
<a href="App.html">App</a>
|
87
|
+
</li>
|
88
|
+
<li class="module">
|
89
|
+
<a href="GLI.html">GLI</a>
|
90
|
+
</li>
|
91
|
+
<li class="module">
|
92
|
+
<a href="GLI/Commands.html">GLI::Commands</a>
|
93
|
+
</li>
|
94
|
+
<li class="module">
|
95
|
+
<a href="GLI/Commands/Doc.html">GLI::Commands::Doc</a>
|
96
|
+
</li>
|
97
|
+
<li class="class">
|
98
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html">GLI::Commands::MarkdownDocumentListener</a>
|
99
|
+
</li>
|
100
|
+
<li class="module">
|
101
|
+
<a href="Hook.html">Hook</a>
|
102
|
+
</li>
|
103
|
+
<li class="module">
|
104
|
+
<a href="Hook/Prompt.html">Hook::Prompt</a>
|
105
|
+
</li>
|
106
|
+
<li class="module">
|
107
|
+
<a href="Hook/PromptFZF.html">Hook::PromptFZF</a>
|
108
|
+
</li>
|
109
|
+
<li class="module">
|
110
|
+
<a href="Hook/PromptSTD.html">Hook::PromptSTD</a>
|
111
|
+
</li>
|
112
|
+
<li class="class">
|
113
|
+
<a href="HookApp.html">HookApp</a>
|
114
|
+
</li>
|
115
|
+
<li class="class">
|
116
|
+
<a href="Hooker.html">Hooker</a>
|
117
|
+
</li>
|
118
|
+
<li class="class">
|
119
|
+
<a href="String.html">String</a>
|
120
|
+
</li>
|
121
|
+
</ul>
|
122
|
+
|
123
|
+
<h2 id="methods">Methods</h2>
|
124
|
+
<ul>
|
125
|
+
|
126
|
+
<li class="method">
|
127
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-c-new">::new</a>
|
128
|
+
—
|
129
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
130
|
+
|
131
|
+
<li class="method">
|
132
|
+
<a href="Hooker.html#method-c-new">::new</a>
|
133
|
+
—
|
134
|
+
<span class="container">Hooker</span>
|
135
|
+
|
136
|
+
<li class="method">
|
137
|
+
<a href="HookApp.html#method-i-all_bookmarks">#all_bookmarks</a>
|
138
|
+
—
|
139
|
+
<span class="container">HookApp</span>
|
140
|
+
|
141
|
+
<li class="method">
|
142
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-beginning">#beginning</a>
|
143
|
+
—
|
144
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
145
|
+
|
146
|
+
<li class="method">
|
147
|
+
<a href="HookApp.html#method-i-bookmark_for">#bookmark_for</a>
|
148
|
+
—
|
149
|
+
<span class="container">HookApp</span>
|
150
|
+
|
151
|
+
<li class="method">
|
152
|
+
<a href="HookApp.html#method-i-bookmark_from_app">#bookmark_from_app</a>
|
153
|
+
—
|
154
|
+
<span class="container">HookApp</span>
|
155
|
+
|
156
|
+
<li class="method">
|
157
|
+
<a href="String.html#method-i-cap">#cap</a>
|
158
|
+
—
|
159
|
+
<span class="container">String</span>
|
160
|
+
|
161
|
+
<li class="method">
|
162
|
+
<a href="String.html#method-i-cap-21">#cap!</a>
|
163
|
+
—
|
164
|
+
<span class="container">String</span>
|
165
|
+
|
166
|
+
<li class="method">
|
167
|
+
<a href="Hook/PromptSTD.html#method-i-clear_screen">#clear_screen</a>
|
168
|
+
—
|
169
|
+
<span class="container">Hook::PromptSTD</span>
|
170
|
+
|
171
|
+
<li class="method">
|
172
|
+
<a href="String.html#method-i-clip">#clip</a>
|
173
|
+
—
|
174
|
+
<span class="container">String</span>
|
175
|
+
|
176
|
+
<li class="method">
|
177
|
+
<a href="HookApp.html#method-i-clip_bookmark">#clip_bookmark</a>
|
178
|
+
—
|
179
|
+
<span class="container">HookApp</span>
|
180
|
+
|
181
|
+
<li class="method">
|
182
|
+
<a href="HookApp.html#method-i-clone_hooks">#clone_hooks</a>
|
183
|
+
—
|
184
|
+
<span class="container">HookApp</span>
|
185
|
+
|
186
|
+
<li class="method">
|
187
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-command">#command</a>
|
188
|
+
—
|
189
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
190
|
+
|
191
|
+
<li class="method">
|
192
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-commands">#commands</a>
|
193
|
+
—
|
194
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
195
|
+
|
196
|
+
<li class="method">
|
197
|
+
<a href="HookApp.html#method-i-copy_bookmark">#copy_bookmark</a>
|
198
|
+
—
|
199
|
+
<span class="container">HookApp</span>
|
200
|
+
|
201
|
+
<li class="method">
|
202
|
+
<a href="HookApp.html#method-i-decode">#decode</a>
|
203
|
+
—
|
204
|
+
<span class="container">HookApp</span>
|
205
|
+
|
206
|
+
<li class="method">
|
207
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-default_command">#default_command</a>
|
208
|
+
—
|
209
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
210
|
+
|
211
|
+
<li class="method">
|
212
|
+
<a href="HookApp.html#method-i-delete_all_hooks">#delete_all_hooks</a>
|
213
|
+
—
|
214
|
+
<span class="container">HookApp</span>
|
215
|
+
|
216
|
+
<li class="method">
|
217
|
+
<a href="HookApp.html#method-i-delete_hooks">#delete_hooks</a>
|
218
|
+
—
|
219
|
+
<span class="container">HookApp</span>
|
220
|
+
|
221
|
+
<li class="method">
|
222
|
+
<a href="HookApp.html#method-i-encode">#encode</a>
|
223
|
+
—
|
224
|
+
<span class="container">HookApp</span>
|
225
|
+
|
226
|
+
<li class="method">
|
227
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-end_command">#end_command</a>
|
228
|
+
—
|
229
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
230
|
+
|
231
|
+
<li class="method">
|
232
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-end_commands">#end_commands</a>
|
233
|
+
—
|
234
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
235
|
+
|
236
|
+
<li class="method">
|
237
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-end_options">#end_options</a>
|
238
|
+
—
|
239
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
240
|
+
|
241
|
+
<li class="method">
|
242
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-ending">#ending</a>
|
243
|
+
—
|
244
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
245
|
+
|
246
|
+
<li class="method">
|
247
|
+
<a href="String.html#method-i-escape_quotes">#escape_quotes</a>
|
248
|
+
—
|
249
|
+
<span class="container">String</span>
|
250
|
+
|
251
|
+
<li class="method">
|
252
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-flag">#flag</a>
|
253
|
+
—
|
254
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
255
|
+
|
256
|
+
<li class="method">
|
257
|
+
<a href="HookApp.html#method-i-format_regex">#format_regex</a>
|
258
|
+
—
|
259
|
+
<span class="container">HookApp</span>
|
260
|
+
|
261
|
+
<li class="method">
|
262
|
+
<a href="Hook/PromptFZF.html#method-i-fzf">#fzf</a>
|
263
|
+
—
|
264
|
+
<span class="container">Hook::PromptFZF</span>
|
265
|
+
|
266
|
+
<li class="method">
|
267
|
+
<a href="HookApp.html#method-i-get_hooks">#get_hooks</a>
|
268
|
+
—
|
269
|
+
<span class="container">HookApp</span>
|
270
|
+
|
271
|
+
<li class="method">
|
272
|
+
<a href="Hook/PromptFZF.html#method-i-install_fzf">#install_fzf</a>
|
273
|
+
—
|
274
|
+
<span class="container">Hook::PromptFZF</span>
|
275
|
+
|
276
|
+
<li class="method">
|
277
|
+
<a href="HookApp.html#method-i-link_all">#link_all</a>
|
278
|
+
—
|
279
|
+
<span class="container">HookApp</span>
|
280
|
+
|
281
|
+
<li class="method">
|
282
|
+
<a href="HookApp.html#method-i-link_files">#link_files</a>
|
283
|
+
—
|
284
|
+
<span class="container">HookApp</span>
|
285
|
+
|
286
|
+
<li class="method">
|
287
|
+
<a href="HookApp.html#method-i-linked_bookmarks">#linked_bookmarks</a>
|
288
|
+
—
|
289
|
+
<span class="container">HookApp</span>
|
290
|
+
|
291
|
+
<li class="method">
|
292
|
+
<a href="String.html#method-i-nil_if_missing">#nil_if_missing</a>
|
293
|
+
—
|
294
|
+
<span class="container">String</span>
|
295
|
+
|
296
|
+
<li class="method">
|
297
|
+
<a href="HookApp.html#method-i-open_gui">#open_gui</a>
|
298
|
+
—
|
299
|
+
<span class="container">HookApp</span>
|
300
|
+
|
301
|
+
<li class="method">
|
302
|
+
<a href="HookApp.html#method-i-open_linked">#open_linked</a>
|
303
|
+
—
|
304
|
+
<span class="container">HookApp</span>
|
305
|
+
|
306
|
+
<li class="method">
|
307
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-options">#options</a>
|
308
|
+
—
|
309
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
310
|
+
|
311
|
+
<li class="method">
|
312
|
+
<a href="HookApp.html#method-i-output_array">#output_array</a>
|
313
|
+
—
|
314
|
+
<span class="container">HookApp</span>
|
315
|
+
|
316
|
+
<li class="method">
|
317
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-program_desc">#program_desc</a>
|
318
|
+
—
|
319
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
320
|
+
|
321
|
+
<li class="method">
|
322
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-program_long_desc">#program_long_desc</a>
|
323
|
+
—
|
324
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
325
|
+
|
326
|
+
<li class="method">
|
327
|
+
<a href="Hook/PromptSTD.html#method-i-restore_std">#restore_std</a>
|
328
|
+
—
|
329
|
+
<span class="container">Hook::PromptSTD</span>
|
330
|
+
|
331
|
+
<li class="method">
|
332
|
+
<a href="HookApp.html#method-i-search_bookmarks">#search_bookmarks</a>
|
333
|
+
—
|
334
|
+
<span class="container">HookApp</span>
|
335
|
+
|
336
|
+
<li class="method">
|
337
|
+
<a href="HookApp.html#method-i-search_name">#search_name</a>
|
338
|
+
—
|
339
|
+
<span class="container">HookApp</span>
|
340
|
+
|
341
|
+
<li class="method">
|
342
|
+
<a href="HookApp.html#method-i-search_path_or_address">#search_path_or_address</a>
|
343
|
+
—
|
344
|
+
<span class="container">HookApp</span>
|
345
|
+
|
346
|
+
<li class="method">
|
347
|
+
<a href="HookApp.html#method-i-select_hook">#select_hook</a>
|
348
|
+
—
|
349
|
+
<span class="container">HookApp</span>
|
350
|
+
|
351
|
+
<li class="method">
|
352
|
+
<a href="Hook/PromptSTD.html#method-i-silence_std">#silence_std</a>
|
353
|
+
—
|
354
|
+
<span class="container">Hook::PromptSTD</span>
|
355
|
+
|
356
|
+
<li class="method">
|
357
|
+
<a href="String.html#method-i-split_hook">#split_hook</a>
|
358
|
+
—
|
359
|
+
<span class="container">String</span>
|
360
|
+
|
361
|
+
<li class="method">
|
362
|
+
<a href="String.html#method-i-split_hooks">#split_hooks</a>
|
363
|
+
—
|
364
|
+
<span class="container">String</span>
|
365
|
+
|
366
|
+
<li class="method">
|
367
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-switch">#switch</a>
|
368
|
+
—
|
369
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
370
|
+
|
371
|
+
<li class="method">
|
372
|
+
<a href="Hook/PromptFZF.html#method-i-uninstall_fzf">#uninstall_fzf</a>
|
373
|
+
—
|
374
|
+
<span class="container">Hook::PromptFZF</span>
|
375
|
+
|
376
|
+
<li class="method">
|
377
|
+
<a href="String.html#method-i-valid_hook">#valid_hook</a>
|
378
|
+
—
|
379
|
+
<span class="container">String</span>
|
380
|
+
|
381
|
+
<li class="method">
|
382
|
+
<a href="String.html#method-i-valid_hook-21">#valid_hook!</a>
|
383
|
+
—
|
384
|
+
<span class="container">String</span>
|
385
|
+
|
386
|
+
<li class="method">
|
387
|
+
<a href="HookApp.html#method-i-validate_format">#validate_format</a>
|
388
|
+
—
|
389
|
+
<span class="container">HookApp</span>
|
390
|
+
|
391
|
+
<li class="method">
|
392
|
+
<a href="GLI/Commands/MarkdownDocumentListener.html#method-i-version">#version</a>
|
393
|
+
—
|
394
|
+
<span class="container">GLI::Commands::MarkdownDocumentListener</span>
|
395
|
+
|
396
|
+
<li class="method">
|
397
|
+
<a href="Hook/PromptFZF.html#method-i-which_fzf">#which_fzf</a>
|
398
|
+
—
|
399
|
+
<span class="container">Hook::PromptFZF</span>
|
400
|
+
</ul>
|
401
|
+
</main>
|
402
|
+
|
403
|
+
|
404
|
+
<footer id="validator-badges" role="contentinfo">
|
405
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
406
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
|
407
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
408
|
+
</footer>
|
409
|
+
|