myask 0.0.1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/myask +1 -1
- data/html/App.html +116 -0
- data/html/MyAsk/Api/Helper.html +207 -0
- data/html/MyAsk/Api/Invitation.html +212 -0
- data/html/MyAsk/Api/Project.html +355 -0
- data/html/MyAsk/Api/ProjectHelper.html +299 -0
- data/html/MyAsk/Api/Question.html +261 -0
- data/html/MyAsk/Api.html +120 -0
- data/html/MyAsk/Config.html +195 -0
- data/html/MyAsk/ConfigHelper.html +251 -0
- data/html/MyAsk/Prompt.html +221 -0
- data/html/MyAsk/PromptHelper.html +330 -0
- data/html/MyAsk.html +114 -0
- data/html/README_rdoc.html +394 -0
- data/html/created.rid +14 -0
- data/html/css/fonts.css +167 -0
- data/html/css/rdoc.css +681 -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 +403 -0
- data/html/js/darkfish.js +120 -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 +257 -0
- data/lib/myask/prompt_helper.rb +4 -1
- data/lib/myask/version.rb +1 -1
- data/pkg/myask-0.0.1/Gemfile +10 -0
- data/pkg/myask-0.0.1/Gemfile.lock +70 -0
- data/pkg/myask-0.0.1/README.rdoc +6 -0
- data/pkg/myask-0.0.1/Rakefile +21 -0
- data/pkg/myask-0.0.1/bin/myask +101 -0
- data/pkg/myask-0.0.1/lib/myask/api/api_helper.rb +45 -0
- data/pkg/myask-0.0.1/lib/myask/api/invitation.rb +49 -0
- data/pkg/myask-0.0.1/lib/myask/api/project.rb +193 -0
- data/pkg/myask-0.0.1/lib/myask/api/project_helper.rb +46 -0
- data/pkg/myask-0.0.1/lib/myask/api/question.rb +99 -0
- data/pkg/myask-0.0.1/lib/myask/config.rb +37 -0
- data/pkg/myask-0.0.1/lib/myask/config_helper.rb +28 -0
- data/pkg/myask-0.0.1/lib/myask/prompt.rb +63 -0
- data/pkg/myask-0.0.1/lib/myask/prompt_helper.rb +83 -0
- data/pkg/myask-0.0.1/lib/myask/version.rb +3 -0
- data/pkg/myask-0.0.1/lib/myask.rb +28 -0
- data/pkg/myask-0.0.1/myask.gemspec +22 -0
- data/pkg/myask-0.0.1/myask.rdoc +138 -0
- data/pkg/myask-0.0.1/test/default_test.rb +14 -0
- data/pkg/myask-0.0.1/test/test_helper.rb +4 -0
- data/pkg/myask-0.0.1.gem +0 -0
- data/pkg/myask-1.0.0/Gemfile +10 -0
- data/pkg/myask-1.0.0/Gemfile.lock +70 -0
- data/pkg/myask-1.0.0/README.rdoc +6 -0
- data/pkg/myask-1.0.0/Rakefile +21 -0
- data/pkg/myask-1.0.0/bin/myask +101 -0
- data/pkg/myask-1.0.0/html/App.html +116 -0
- data/pkg/myask-1.0.0/html/MyAsk/Api/Helper.html +207 -0
- data/pkg/myask-1.0.0/html/MyAsk/Api/Invitation.html +212 -0
- data/pkg/myask-1.0.0/html/MyAsk/Api/Project.html +355 -0
- data/pkg/myask-1.0.0/html/MyAsk/Api/ProjectHelper.html +299 -0
- data/pkg/myask-1.0.0/html/MyAsk/Api/Question.html +261 -0
- data/pkg/myask-1.0.0/html/MyAsk/Api.html +120 -0
- data/pkg/myask-1.0.0/html/MyAsk/Config.html +195 -0
- data/pkg/myask-1.0.0/html/MyAsk/ConfigHelper.html +251 -0
- data/pkg/myask-1.0.0/html/MyAsk/Prompt.html +221 -0
- data/pkg/myask-1.0.0/html/MyAsk/PromptHelper.html +330 -0
- data/pkg/myask-1.0.0/html/MyAsk.html +114 -0
- data/pkg/myask-1.0.0/html/README_rdoc.html +394 -0
- data/pkg/myask-1.0.0/html/created.rid +14 -0
- data/pkg/myask-1.0.0/html/css/fonts.css +167 -0
- data/pkg/myask-1.0.0/html/css/rdoc.css +681 -0
- data/pkg/myask-1.0.0/html/fonts/Lato-Light.ttf +0 -0
- data/pkg/myask-1.0.0/html/fonts/Lato-LightItalic.ttf +0 -0
- data/pkg/myask-1.0.0/html/fonts/Lato-Regular.ttf +0 -0
- data/pkg/myask-1.0.0/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/pkg/myask-1.0.0/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/pkg/myask-1.0.0/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/pkg/myask-1.0.0/html/images/add.png +0 -0
- data/pkg/myask-1.0.0/html/images/arrow_up.png +0 -0
- data/pkg/myask-1.0.0/html/images/brick.png +0 -0
- data/pkg/myask-1.0.0/html/images/brick_link.png +0 -0
- data/pkg/myask-1.0.0/html/images/bug.png +0 -0
- data/pkg/myask-1.0.0/html/images/bullet_black.png +0 -0
- data/pkg/myask-1.0.0/html/images/bullet_toggle_minus.png +0 -0
- data/pkg/myask-1.0.0/html/images/bullet_toggle_plus.png +0 -0
- data/pkg/myask-1.0.0/html/images/date.png +0 -0
- data/pkg/myask-1.0.0/html/images/delete.png +0 -0
- data/pkg/myask-1.0.0/html/images/find.png +0 -0
- data/pkg/myask-1.0.0/html/images/loadingAnimation.gif +0 -0
- data/pkg/myask-1.0.0/html/images/macFFBgHack.png +0 -0
- data/pkg/myask-1.0.0/html/images/package.png +0 -0
- data/pkg/myask-1.0.0/html/images/page_green.png +0 -0
- data/pkg/myask-1.0.0/html/images/page_white_text.png +0 -0
- data/pkg/myask-1.0.0/html/images/page_white_width.png +0 -0
- data/pkg/myask-1.0.0/html/images/plugin.png +0 -0
- data/pkg/myask-1.0.0/html/images/ruby.png +0 -0
- data/pkg/myask-1.0.0/html/images/tag_blue.png +0 -0
- data/pkg/myask-1.0.0/html/images/tag_green.png +0 -0
- data/pkg/myask-1.0.0/html/images/transparent.png +0 -0
- data/pkg/myask-1.0.0/html/images/wrench.png +0 -0
- data/pkg/myask-1.0.0/html/images/wrench_orange.png +0 -0
- data/pkg/myask-1.0.0/html/images/zoom.png +0 -0
- data/pkg/myask-1.0.0/html/index.html +403 -0
- data/pkg/myask-1.0.0/html/js/darkfish.js +120 -0
- data/pkg/myask-1.0.0/html/js/navigation.js +105 -0
- data/pkg/myask-1.0.0/html/js/navigation.js.gz +0 -0
- data/pkg/myask-1.0.0/html/js/search.js +110 -0
- data/pkg/myask-1.0.0/html/js/search_index.js +1 -0
- data/pkg/myask-1.0.0/html/js/search_index.js.gz +0 -0
- data/pkg/myask-1.0.0/html/js/searcher.js +229 -0
- data/pkg/myask-1.0.0/html/js/searcher.js.gz +0 -0
- data/pkg/myask-1.0.0/html/table_of_contents.html +257 -0
- data/pkg/myask-1.0.0/lib/myask/api/api_helper.rb +45 -0
- data/pkg/myask-1.0.0/lib/myask/api/invitation.rb +49 -0
- data/pkg/myask-1.0.0/lib/myask/api/project.rb +193 -0
- data/pkg/myask-1.0.0/lib/myask/api/project_helper.rb +46 -0
- data/pkg/myask-1.0.0/lib/myask/api/question.rb +99 -0
- data/pkg/myask-1.0.0/lib/myask/config.rb +37 -0
- data/pkg/myask-1.0.0/lib/myask/config_helper.rb +28 -0
- data/pkg/myask-1.0.0/lib/myask/prompt.rb +63 -0
- data/pkg/myask-1.0.0/lib/myask/prompt_helper.rb +83 -0
- data/pkg/myask-1.0.0/lib/myask/version.rb +3 -0
- data/pkg/myask-1.0.0/lib/myask.rb +28 -0
- data/pkg/myask-1.0.0/myask.gemspec +22 -0
- data/pkg/myask-1.0.0/myask.rdoc +138 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/Gemfile +10 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/Gemfile.lock +70 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/README.rdoc +6 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/Rakefile +21 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/bin/myask +101 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/api_helper.rb +45 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/invitation.rb +49 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/project.rb +193 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/project_helper.rb +46 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/question.rb +99 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/config.rb +37 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/config_helper.rb +28 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/prompt.rb +63 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/prompt_helper.rb +83 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/version.rb +3 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask.rb +28 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/myask.gemspec +22 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/myask.rdoc +138 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/test/default_test.rb +14 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1/test/test_helper.rb +4 -0
- data/pkg/myask-1.0.0/pkg/myask-0.0.1.gem +0 -0
- data/pkg/myask-1.0.0/test/default_test.rb +14 -0
- data/pkg/myask-1.0.0/test/test_helper.rb +4 -0
- data/pkg/myask-1.0.0.gem +0 -0
- metadata +179 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/html/index.html
ADDED
@@ -0,0 +1,403 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
|
8
|
+
<title>Your application title</title>
|
9
|
+
|
10
|
+
<meta name="keywords" content="ruby,documentation,Your application title">
|
11
|
+
|
12
|
+
|
13
|
+
<meta name="description" content="Your application title: myask Describe your project here == myask - Describe your application here v0. tt> Shows a list of commands or help for one command Gets help for ">
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
var rdoc_rel_prefix = "./";
|
17
|
+
var index_rel_prefix = "./";
|
18
|
+
</script>
|
19
|
+
|
20
|
+
<script src="./js/navigation.js" defer></script>
|
21
|
+
<script src="./js/search.js" defer></script>
|
22
|
+
<script src="./js/search_index.js" defer></script>
|
23
|
+
<script src="./js/searcher.js" defer></script>
|
24
|
+
<script src="./js/darkfish.js" defer></script>
|
25
|
+
|
26
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
27
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
28
|
+
|
29
|
+
|
30
|
+
<body id="top" role="document" class="file">
|
31
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
32
|
+
<span aria-hidden="true">☰</span>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
|
36
|
+
<nav id="navigation" role="navigation">
|
37
|
+
<div id="project-navigation">
|
38
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
39
|
+
<h2>
|
40
|
+
<a href="./index.html" rel="home">Home</a>
|
41
|
+
</h2>
|
42
|
+
|
43
|
+
<div id="table-of-contents-navigation">
|
44
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
45
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
46
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
47
|
+
</div>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
51
|
+
<form action="#" method="get" accept-charset="utf-8">
|
52
|
+
<div id="search-field-wrapper">
|
53
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
54
|
+
aria-autocomplete="list" aria-controls="search-results"
|
55
|
+
type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
|
56
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<ul id="search-results" aria-label="Search Results"
|
60
|
+
aria-busy="false" aria-expanded="false"
|
61
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
62
|
+
</form>
|
63
|
+
</div>
|
64
|
+
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
<div class="nav-section">
|
69
|
+
<h3>Table of Contents</h3>
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
<ul class="link-list" role="directory">
|
74
|
+
<li>
|
75
|
+
<details open>
|
76
|
+
<summary> <a href="#label-myask">myask</a>
|
77
|
+
</summary>
|
78
|
+
<ul class="link-list" role="directory">
|
79
|
+
<li>
|
80
|
+
<details open>
|
81
|
+
<summary> <a href="#label-myask+-+Describe+your+application+here">myask - Describe your application here</a>
|
82
|
+
</summary>
|
83
|
+
<ul class="link-list" role="directory">
|
84
|
+
<li> <a href="#label-Global+Options">Global Options</a>
|
85
|
+
<li> <a href="#label--api_host+arg">–api_host arg</a>
|
86
|
+
<li> <a href="#label--api_key+arg">–api_key arg</a>
|
87
|
+
<li> <a href="#label--project+arg">–project arg</a>
|
88
|
+
<li> <a href="#label--help">–help</a>
|
89
|
+
<li> <a href="#label---5Bno--5Djson">–[no-]json</a>
|
90
|
+
<li> <a href="#label---5Bno--5Dsilent">–[no-]silent</a>
|
91
|
+
<li> <a href="#label--version">–version</a>
|
92
|
+
<li>
|
93
|
+
<details open>
|
94
|
+
<summary> <a href="#label-Commands">Commands</a>
|
95
|
+
</summary>
|
96
|
+
<ul class="link-list" role="directory">
|
97
|
+
<li>
|
98
|
+
<details open>
|
99
|
+
<summary> <a href="#label-Command-3A+config+">Command: <code>config </code></a>
|
100
|
+
</summary>
|
101
|
+
<ul class="link-list" role="directory">
|
102
|
+
<li>
|
103
|
+
<details open>
|
104
|
+
<summary> <a href="#label-Commands">Commands</a>
|
105
|
+
</summary>
|
106
|
+
<ul class="link-list" role="directory">
|
107
|
+
<li> <a href="#label-Command-3A+save+">Command: <code>save </code></a>
|
108
|
+
<li> <a href="#label-Command-3A+show+">Command: <code>show </code></a>
|
109
|
+
|
110
|
+
</ul>
|
111
|
+
</details>
|
112
|
+
</li>
|
113
|
+
|
114
|
+
</ul>
|
115
|
+
</details>
|
116
|
+
</li>
|
117
|
+
<li>
|
118
|
+
<details open>
|
119
|
+
<summary> <a href="#label-Command-3A+help++command">Command: <code>help command</code></a>
|
120
|
+
</summary>
|
121
|
+
<ul class="link-list" role="directory">
|
122
|
+
<li> <a href="#label-Options">Options</a>
|
123
|
+
<li> <a href="#label-c">-c</a>
|
124
|
+
|
125
|
+
</ul>
|
126
|
+
</details>
|
127
|
+
</li>
|
128
|
+
<li>
|
129
|
+
<details open>
|
130
|
+
<summary> <a href="#label-Command-3A+initconfig+">Command: <code>initconfig </code></a>
|
131
|
+
</summary>
|
132
|
+
<ul class="link-list" role="directory">
|
133
|
+
<li> <a href="#label-Options">Options</a>
|
134
|
+
<li> <a href="#label---5Bno--5Dforce">–[no-]force</a>
|
135
|
+
|
136
|
+
</ul>
|
137
|
+
</details>
|
138
|
+
</li>
|
139
|
+
<li>
|
140
|
+
<details open>
|
141
|
+
<summary> <a href="#label-Command-3A+invitation+">Command: <code>invitation </code></a>
|
142
|
+
</summary>
|
143
|
+
<ul class="link-list" role="directory">
|
144
|
+
<li>
|
145
|
+
<details open>
|
146
|
+
<summary> <a href="#label-Commands">Commands</a>
|
147
|
+
</summary>
|
148
|
+
<ul class="link-list" role="directory">
|
149
|
+
<li> <a href="#label-Command-3A+list+">Command: <code>list </code></a>
|
150
|
+
<li> <a href="#label-Command-3A+send+">Command: <code>send </code></a>
|
151
|
+
|
152
|
+
</ul>
|
153
|
+
</details>
|
154
|
+
</li>
|
155
|
+
|
156
|
+
</ul>
|
157
|
+
</details>
|
158
|
+
</li>
|
159
|
+
<li>
|
160
|
+
<details open>
|
161
|
+
<summary> <a href="#label-Command-3A+project+">Command: <code>project </code></a>
|
162
|
+
</summary>
|
163
|
+
<ul class="link-list" role="directory">
|
164
|
+
<li>
|
165
|
+
<details open>
|
166
|
+
<summary> <a href="#label-Commands">Commands</a>
|
167
|
+
</summary>
|
168
|
+
<ul class="link-list" role="directory">
|
169
|
+
<li> <a href="#label-Command-3A+create+">Command: <code>create </code></a>
|
170
|
+
<li> <a href="#label-Command-3A+delete+">Command: <code>delete </code></a>
|
171
|
+
<li> <a href="#label-Command-3A+edit++project">Command: <code>edit project</code></a>
|
172
|
+
<li> <a href="#label-Command-3A+set++project">Command: <code>set project</code></a>
|
173
|
+
<li> <a href="#label-Command-3A+show++project">Command: <code>show project</code></a>
|
174
|
+
|
175
|
+
</ul>
|
176
|
+
</details>
|
177
|
+
</li>
|
178
|
+
|
179
|
+
</ul>
|
180
|
+
</details>
|
181
|
+
</li>
|
182
|
+
<li> <a href="#label-Command-3A+prompt+">Command: <code>prompt </code></a>
|
183
|
+
<li>
|
184
|
+
<details open>
|
185
|
+
<summary> <a href="#label-Command-3A+question+">Command: <code>question </code></a>
|
186
|
+
</summary>
|
187
|
+
<ul class="link-list" role="directory">
|
188
|
+
<li>
|
189
|
+
<details open>
|
190
|
+
<summary> <a href="#label-Commands">Commands</a>
|
191
|
+
</summary>
|
192
|
+
<ul class="link-list" role="directory">
|
193
|
+
<li> <a href="#label-Command-3A+delete++question_id">Command: <code>delete question_id</code></a>
|
194
|
+
<li> <a href="#label-Command-3A+show++question_id">Command: <code>show question_id</code></a>
|
195
|
+
|
196
|
+
</ul>
|
197
|
+
</details>
|
198
|
+
</li>
|
199
|
+
|
200
|
+
</ul>
|
201
|
+
</details>
|
202
|
+
</li>
|
203
|
+
|
204
|
+
</ul>
|
205
|
+
</details>
|
206
|
+
</li>
|
207
|
+
|
208
|
+
</ul>
|
209
|
+
</details>
|
210
|
+
</li>
|
211
|
+
|
212
|
+
</ul>
|
213
|
+
</details>
|
214
|
+
</li>
|
215
|
+
|
216
|
+
</ul>
|
217
|
+
</div>
|
218
|
+
|
219
|
+
|
220
|
+
<div id="fileindex-section" class="nav-section">
|
221
|
+
<h3>Pages</h3>
|
222
|
+
|
223
|
+
<ul class="link-list">
|
224
|
+
<li><a href="./README_rdoc.html">README</a>
|
225
|
+
</ul>
|
226
|
+
</div>
|
227
|
+
|
228
|
+
<div id="classindex-section" class="nav-section">
|
229
|
+
<h3>Class and Module Index</h3>
|
230
|
+
|
231
|
+
<ul class="link-list"><li><code><a href="./App.html">App</a></code></li><li><details><summary><code><a href="./MyAsk.html">MyAsk</a></code></summary><ul class="link-list"><li><details><summary><code><a href="./MyAsk/Api.html">Api</a></code></summary><ul class="link-list"><li><code><a href="./MyAsk/Api/Helper.html">Helper</a></code></li><li><code><a href="./MyAsk/Api/Invitation.html">Invitation</a></code></li><li><code><a href="./MyAsk/Api/Project.html">Project</a></code></li><li><code><a href="./MyAsk/Api/ProjectHelper.html">ProjectHelper</a></code></li><li><code><a href="./MyAsk/Api/Question.html">Question</a></code></li></ul></details></li><li><code><a href="./MyAsk/Config.html">Config</a></code></li><li><code><a href="./MyAsk/ConfigHelper.html">ConfigHelper</a></code></li><li><code><a href="./MyAsk/Prompt.html">Prompt</a></code></li><li><code><a href="./MyAsk/PromptHelper.html">PromptHelper</a></code></li></ul></details></li><li><code><a href="./Myask.html">Myask</a></code></li></ul>
|
232
|
+
</div>
|
233
|
+
|
234
|
+
|
235
|
+
<footer id="validator-badges" role="contentinfo">
|
236
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
237
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.13.0.
|
238
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
239
|
+
</footer>
|
240
|
+
|
241
|
+
</nav>
|
242
|
+
|
243
|
+
<main role="main">
|
244
|
+
|
245
|
+
|
246
|
+
<h1 id="label-myask">myask<span><a href="#label-myask">¶</a> <a href="#top">↑</a></span></h1>
|
247
|
+
|
248
|
+
<p>Describe your project here</p>
|
249
|
+
|
250
|
+
<h2 id="label-myask+-+Describe+your+application+here">myask - Describe your application here<span><a href="#label-myask+-+Describe+your+application+here">¶</a> <a href="#top">↑</a></span></h2>
|
251
|
+
|
252
|
+
<p>v0.0.1</p>
|
253
|
+
|
254
|
+
<h3 id="label-Global+Options">Global Options<span><a href="#label-Global+Options">¶</a> <a href="#top">↑</a></span></h3>
|
255
|
+
|
256
|
+
<h3 id="label--api_host+arg">–api_host arg<span><a href="#label--api_host+arg">¶</a> <a href="#top">↑</a></span></h3>
|
257
|
+
|
258
|
+
<p>Host for <a href="MyAsk.html"><code>MyAsk</code></a> API</p>
|
259
|
+
<dl class="rdoc-list label-list"><dt>Default Value</dt>
|
260
|
+
<dd>
|
261
|
+
<p><a href="http://localhost:3000">localhost:3000</a></p>
|
262
|
+
</dd></dl>
|
263
|
+
|
264
|
+
<h3 id="label--api_key+arg">–api_key arg<span><a href="#label--api_key+arg">¶</a> <a href="#top">↑</a></span></h3>
|
265
|
+
|
266
|
+
<p>API Key for <a href="MyAsk.html"><code>MyAsk</code></a> API</p>
|
267
|
+
<dl class="rdoc-list label-list"><dt>Default Value</dt>
|
268
|
+
<dd>
|
269
|
+
<p>A9qVFSgXFH8Ubclq4jVYn0PBsEGMSfQf</p>
|
270
|
+
</dd></dl>
|
271
|
+
|
272
|
+
<h3 id="label--project+arg">–project arg<span><a href="#label--project+arg">¶</a> <a href="#top">↑</a></span></h3>
|
273
|
+
|
274
|
+
<p>Current <a href="MyAsk.html"><code>MyAsk</code></a> Project</p>
|
275
|
+
<dl class="rdoc-list label-list"><dt>Default Value</dt>
|
276
|
+
<dd>
|
277
|
+
<p>156891416</p>
|
278
|
+
</dd></dl>
|
279
|
+
|
280
|
+
<h3 id="label--help">–help<span><a href="#label--help">¶</a> <a href="#top">↑</a></span></h3>
|
281
|
+
|
282
|
+
<p>Show this message</p>
|
283
|
+
|
284
|
+
<h3 id="label---5Bno--5Djson">–[no-]json<span><a href="#label---5Bno--5Djson">¶</a> <a href="#top">↑</a></span></h3>
|
285
|
+
|
286
|
+
<p>Format Output as JSON</p>
|
287
|
+
|
288
|
+
<h3 id="label---5Bno--5Dsilent">–[no-]silent<span><a href="#label---5Bno--5Dsilent">¶</a> <a href="#top">↑</a></span></h3>
|
289
|
+
|
290
|
+
<p>Silent Progress Spinner</p>
|
291
|
+
|
292
|
+
<h3 id="label--version">–version<span><a href="#label--version">¶</a> <a href="#top">↑</a></span></h3>
|
293
|
+
|
294
|
+
<p>Display the program version</p>
|
295
|
+
|
296
|
+
<h3 id="label-Commands">Commands<span><a href="#label-Commands">¶</a> <a href="#top">↑</a></span></h3>
|
297
|
+
|
298
|
+
<h4 id="label-Command-3A+config+">Command: <code>config </code><span><a href="#label-Command-3A+config+">¶</a> <a href="#top">↑</a></span></h4>
|
299
|
+
|
300
|
+
<p>View current or set new <a href="MyAsk.html"><code>MyAsk</code></a> configuration values</p>
|
301
|
+
|
302
|
+
<h5 id="label-Commands">Commands<span><a href="#label-Commands">¶</a> <a href="#top">↑</a></span></h5>
|
303
|
+
|
304
|
+
<h6 id="label-Command-3A+save+">Command: <code>save </code><span><a href="#label-Command-3A+save+">¶</a> <a href="#top">↑</a></span></h6>
|
305
|
+
|
306
|
+
<h6 id="label-Command-3A+show+">Command: <code>show </code><span><a href="#label-Command-3A+show+">¶</a> <a href="#top">↑</a></span></h6>
|
307
|
+
<dl class="rdoc-list label-list"><dt>Default Command</dt>
|
308
|
+
<dd>
|
309
|
+
<p>show</p>
|
310
|
+
</dd></dl>
|
311
|
+
|
312
|
+
<h4 id="label-Command-3A+help++command">Command: <code>help command</code><span><a href="#label-Command-3A+help++command">¶</a> <a href="#top">↑</a></span></h4>
|
313
|
+
|
314
|
+
<p>Shows a list of commands or help for one command</p>
|
315
|
+
|
316
|
+
<p>Gets help for the application or its commands. Can also list the commands in a way helpful to creating a bash-style completion function</p>
|
317
|
+
|
318
|
+
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
319
|
+
|
320
|
+
<h5 id="label-c">-c<span><a href="#label-c">¶</a> <a href="#top">↑</a></span></h5>
|
321
|
+
|
322
|
+
<p>List commands one per line, to assist with shell completion</p>
|
323
|
+
|
324
|
+
<h4 id="label-Command-3A+initconfig+">Command: <code>initconfig </code><span><a href="#label-Command-3A+initconfig+">¶</a> <a href="#top">↑</a></span></h4>
|
325
|
+
|
326
|
+
<p>Initialize the config file using current global options</p>
|
327
|
+
|
328
|
+
<p>Initializes a configuration file where you can set default options for command line flags, both globally and on a per-command basis. These defaults override the built-in defaults and allow you to omit commonly-used command line flags when invoking this program</p>
|
329
|
+
|
330
|
+
<h5 id="label-Options">Options<span><a href="#label-Options">¶</a> <a href="#top">↑</a></span></h5>
|
331
|
+
|
332
|
+
<h5 id="label---5Bno--5Dforce">–[no-]force<span><a href="#label---5Bno--5Dforce">¶</a> <a href="#top">↑</a></span></h5>
|
333
|
+
|
334
|
+
<p>force overwrite of existing config file</p>
|
335
|
+
|
336
|
+
<h4 id="label-Command-3A+invitation+">Command: <code>invitation </code><span><a href="#label-Command-3A+invitation+">¶</a> <a href="#top">↑</a></span></h4>
|
337
|
+
|
338
|
+
<p>Create/list <a href="MyAsk.html"><code>MyAsk</code></a> Invitations</p>
|
339
|
+
|
340
|
+
<h5 id="label-Commands">Commands<span><a href="#label-Commands">¶</a> <a href="#top">↑</a></span></h5>
|
341
|
+
|
342
|
+
<h6 id="label-Command-3A+list+">Command: <code>list </code><span><a href="#label-Command-3A+list+">¶</a> <a href="#top">↑</a></span></h6>
|
343
|
+
|
344
|
+
<p>List <a href="MyAsk.html"><code>MyAsk</code></a> invitations.</p>
|
345
|
+
|
346
|
+
<h6 id="label-Command-3A+send+">Command: <code>send </code><span><a href="#label-Command-3A+send+">¶</a> <a href="#top">↑</a></span></h6>
|
347
|
+
|
348
|
+
<p>Send <a href="MyAsk.html"><code>MyAsk</code></a> invitation to a new user</p>
|
349
|
+
<dl class="rdoc-list label-list"><dt>Default Command</dt>
|
350
|
+
<dd>
|
351
|
+
<p>list</p>
|
352
|
+
</dd></dl>
|
353
|
+
|
354
|
+
<h4 id="label-Command-3A+project+">Command: <code>project </code><span><a href="#label-Command-3A+project+">¶</a> <a href="#top">↑</a></span></h4>
|
355
|
+
|
356
|
+
<p>Create/show/list/delete <a href="MyAsk.html"><code>MyAsk</code></a> Project</p>
|
357
|
+
|
358
|
+
<h5 id="label-Commands">Commands<span><a href="#label-Commands">¶</a> <a href="#top">↑</a></span></h5>
|
359
|
+
|
360
|
+
<h6 id="label-Command-3A+create+">Command: <code>create </code><span><a href="#label-Command-3A+create+">¶</a> <a href="#top">↑</a></span></h6>
|
361
|
+
|
362
|
+
<p>Create <a href="MyAsk.html"><code>MyAsk</code></a> Project</p>
|
363
|
+
|
364
|
+
<h6 id="label-Command-3A+delete+">Command: <code>delete </code><span><a href="#label-Command-3A+delete+">¶</a> <a href="#top">↑</a></span></h6>
|
365
|
+
|
366
|
+
<p>Delete <a href="MyAsk.html"><code>MyAsk</code></a> Project</p>
|
367
|
+
|
368
|
+
<h6 id="label-Command-3A+edit++project">Command: <code>edit project</code><span><a href="#label-Command-3A+edit++project">¶</a> <a href="#top">↑</a></span></h6>
|
369
|
+
|
370
|
+
<p>Edit <a href="MyAsk.html"><code>MyAsk</code></a> Project</p>
|
371
|
+
|
372
|
+
<h6 id="label-Command-3A+set++project">Command: <code>set project</code><span><a href="#label-Command-3A+set++project">¶</a> <a href="#top">↑</a></span></h6>
|
373
|
+
|
374
|
+
<p>Set <a href="MyAsk.html"><code>MyAsk</code></a> Project</p>
|
375
|
+
|
376
|
+
<h6 id="label-Command-3A+show++project">Command: <code>show project</code><span><a href="#label-Command-3A+show++project">¶</a> <a href="#top">↑</a></span></h6>
|
377
|
+
|
378
|
+
<p>Show <a href="MyAsk.html"><code>MyAsk</code></a> Project Details</p>
|
379
|
+
|
380
|
+
<h4 id="label-Command-3A+prompt+">Command: <code>prompt </code><span><a href="#label-Command-3A+prompt+">¶</a> <a href="#top">↑</a></span></h4>
|
381
|
+
|
382
|
+
<p>Send a prompt to <a href="MyAsk.html"><code>MyAsk</code></a> API</p>
|
383
|
+
|
384
|
+
<h4 id="label-Command-3A+question+">Command: <code>question </code><span><a href="#label-Command-3A+question+">¶</a> <a href="#top">↑</a></span></h4>
|
385
|
+
|
386
|
+
<p>Show/delete <a href="MyAsk.html"><code>MyAsk</code></a> Question</p>
|
387
|
+
|
388
|
+
<h5 id="label-Commands">Commands<span><a href="#label-Commands">¶</a> <a href="#top">↑</a></span></h5>
|
389
|
+
|
390
|
+
<h6 id="label-Command-3A+delete++question_id">Command: <code>delete question_id</code><span><a href="#label-Command-3A+delete++question_id">¶</a> <a href="#top">↑</a></span></h6>
|
391
|
+
|
392
|
+
<p>Delete <a href="MyAsk.html"><code>MyAsk</code></a> question</p>
|
393
|
+
|
394
|
+
<h6 id="label-Command-3A+show++question_id">Command: <code>show question_id</code><span><a href="#label-Command-3A+show++question_id">¶</a> <a href="#top">↑</a></span></h6>
|
395
|
+
|
396
|
+
<p>Show details for <a href="MyAsk.html"><code>MyAsk</code></a> question</p>
|
397
|
+
<dl class="rdoc-list label-list"><dt>Default Command</dt>
|
398
|
+
<dd>
|
399
|
+
<p>show</p>
|
400
|
+
</dd></dl>
|
401
|
+
|
402
|
+
</main>
|
403
|
+
|
data/html/js/darkfish.js
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* Darkfish Page Functions
|
4
|
+
* $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
|
5
|
+
*
|
6
|
+
* Author: Michael Granger <mgranger@laika.com>
|
7
|
+
*
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Provide console simulation for firebug-less environments */
|
11
|
+
/*
|
12
|
+
if (!("console" in window) || !("firebug" in console)) {
|
13
|
+
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
|
14
|
+
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
|
15
|
+
|
16
|
+
window.console = {};
|
17
|
+
for (var i = 0; i < names.length; ++i)
|
18
|
+
window.console[names[i]] = function() {};
|
19
|
+
};
|
20
|
+
*/
|
21
|
+
|
22
|
+
|
23
|
+
function showSource( e ) {
|
24
|
+
var target = e.target;
|
25
|
+
while (!target.classList.contains('method-detail')) {
|
26
|
+
target = target.parentNode;
|
27
|
+
}
|
28
|
+
if (typeof target !== "undefined" && target !== null) {
|
29
|
+
target = target.querySelector('.method-source-code');
|
30
|
+
}
|
31
|
+
if (typeof target !== "undefined" && target !== null) {
|
32
|
+
target.classList.toggle('active-menu')
|
33
|
+
}
|
34
|
+
};
|
35
|
+
|
36
|
+
function hookSourceViews() {
|
37
|
+
document.querySelectorAll('.method-source-toggle').forEach(function (codeObject) {
|
38
|
+
codeObject.addEventListener('click', showSource);
|
39
|
+
});
|
40
|
+
};
|
41
|
+
|
42
|
+
function hookSearch() {
|
43
|
+
var input = document.querySelector('#search-field');
|
44
|
+
var result = document.querySelector('#search-results');
|
45
|
+
result.classList.remove("initially-hidden");
|
46
|
+
|
47
|
+
var search_section = document.querySelector('#search-section');
|
48
|
+
search_section.classList.remove("initially-hidden");
|
49
|
+
|
50
|
+
var search = new Search(search_data, input, result);
|
51
|
+
|
52
|
+
search.renderItem = function(result) {
|
53
|
+
var li = document.createElement('li');
|
54
|
+
var html = '';
|
55
|
+
|
56
|
+
// TODO add relative path to <script> per-page
|
57
|
+
html += '<p class="search-match"><a href="' + index_rel_prefix + this.escapeHTML(result.path) + '">' + this.hlt(result.title);
|
58
|
+
if (result.params)
|
59
|
+
html += '<span class="params">' + result.params + '</span>';
|
60
|
+
html += '</a>';
|
61
|
+
|
62
|
+
|
63
|
+
if (result.namespace)
|
64
|
+
html += '<p class="search-namespace">' + this.hlt(result.namespace);
|
65
|
+
|
66
|
+
if (result.snippet)
|
67
|
+
html += '<div class="search-snippet">' + result.snippet + '</div>';
|
68
|
+
|
69
|
+
li.innerHTML = html;
|
70
|
+
|
71
|
+
return li;
|
72
|
+
}
|
73
|
+
|
74
|
+
search.select = function(result) {
|
75
|
+
window.location.href = result.firstChild.firstChild.href;
|
76
|
+
}
|
77
|
+
|
78
|
+
search.scrollIntoView = search.scrollInWindow;
|
79
|
+
};
|
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
|
+
|
115
|
+
document.addEventListener('DOMContentLoaded', function() {
|
116
|
+
hookSourceViews();
|
117
|
+
hookSearch();
|
118
|
+
hookFocus();
|
119
|
+
hookSidebar();
|
120
|
+
});
|
@@ -0,0 +1,105 @@
|
|
1
|
+
/*
|
2
|
+
* Navigation allows movement using the arrow keys through the search results.
|
3
|
+
*
|
4
|
+
* When using this library you will need to set scrollIntoView to the
|
5
|
+
* appropriate function for your layout. Use scrollInWindow if the container
|
6
|
+
* is not scrollable and scrollInElement if the container is a separate
|
7
|
+
* scrolling region.
|
8
|
+
*/
|
9
|
+
Navigation = new function() {
|
10
|
+
this.initNavigation = function() {
|
11
|
+
var _this = this;
|
12
|
+
|
13
|
+
document.addEventListener('keydown', function(e) {
|
14
|
+
_this.onkeydown(e);
|
15
|
+
});
|
16
|
+
|
17
|
+
this.navigationActive = true;
|
18
|
+
}
|
19
|
+
|
20
|
+
this.setNavigationActive = function(state) {
|
21
|
+
this.navigationActive = state;
|
22
|
+
}
|
23
|
+
|
24
|
+
this.onkeydown = function(e) {
|
25
|
+
if (!this.navigationActive) return;
|
26
|
+
switch(e.key) {
|
27
|
+
case 'ArrowLeft':
|
28
|
+
if (this.moveLeft()) e.preventDefault();
|
29
|
+
break;
|
30
|
+
case 'ArrowUp':
|
31
|
+
if (e.key == 'ArrowUp' || e.ctrlKey) {
|
32
|
+
if (this.moveUp()) e.preventDefault();
|
33
|
+
}
|
34
|
+
break;
|
35
|
+
case 'ArrowRight':
|
36
|
+
if (this.moveRight()) e.preventDefault();
|
37
|
+
break;
|
38
|
+
case 'ArrowDown':
|
39
|
+
if (e.key == 'ArrowDown' || e.ctrlKey) {
|
40
|
+
if (this.moveDown()) e.preventDefault();
|
41
|
+
}
|
42
|
+
break;
|
43
|
+
case 'Enter':
|
44
|
+
if (this.current) e.preventDefault();
|
45
|
+
this.select(this.current);
|
46
|
+
break;
|
47
|
+
}
|
48
|
+
if (e.ctrlKey && e.shiftKey) this.select(this.current);
|
49
|
+
}
|
50
|
+
|
51
|
+
this.moveRight = function() {
|
52
|
+
}
|
53
|
+
|
54
|
+
this.moveLeft = function() {
|
55
|
+
}
|
56
|
+
|
57
|
+
this.move = function(isDown) {
|
58
|
+
}
|
59
|
+
|
60
|
+
this.moveUp = function() {
|
61
|
+
return this.move(false);
|
62
|
+
}
|
63
|
+
|
64
|
+
this.moveDown = function() {
|
65
|
+
return this.move(true);
|
66
|
+
}
|
67
|
+
|
68
|
+
/*
|
69
|
+
* Scrolls to the given element in the scrollable element view.
|
70
|
+
*/
|
71
|
+
this.scrollInElement = function(element, view) {
|
72
|
+
var offset, viewHeight, viewScroll, height;
|
73
|
+
offset = element.offsetTop;
|
74
|
+
height = element.offsetHeight;
|
75
|
+
viewHeight = view.offsetHeight;
|
76
|
+
viewScroll = view.scrollTop;
|
77
|
+
|
78
|
+
if (offset - viewScroll + height > viewHeight) {
|
79
|
+
view.scrollTop = offset - viewHeight + height;
|
80
|
+
}
|
81
|
+
if (offset < viewScroll) {
|
82
|
+
view.scrollTop = offset;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
/*
|
87
|
+
* Scrolls to the given element in the window. The second argument is
|
88
|
+
* ignored
|
89
|
+
*/
|
90
|
+
this.scrollInWindow = function(element, ignored) {
|
91
|
+
var offset, viewHeight, viewScroll, height;
|
92
|
+
offset = element.offsetTop;
|
93
|
+
height = element.offsetHeight;
|
94
|
+
viewHeight = window.innerHeight;
|
95
|
+
viewScroll = window.scrollY;
|
96
|
+
|
97
|
+
if (offset - viewScroll + height > viewHeight) {
|
98
|
+
window.scrollTo(window.scrollX, offset - viewHeight + height);
|
99
|
+
}
|
100
|
+
if (offset < viewScroll) {
|
101
|
+
window.scrollTo(window.scrollX, offset);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
Binary file
|