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.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/bin/myask +1 -1
  4. data/html/App.html +116 -0
  5. data/html/MyAsk/Api/Helper.html +207 -0
  6. data/html/MyAsk/Api/Invitation.html +212 -0
  7. data/html/MyAsk/Api/Project.html +355 -0
  8. data/html/MyAsk/Api/ProjectHelper.html +299 -0
  9. data/html/MyAsk/Api/Question.html +261 -0
  10. data/html/MyAsk/Api.html +120 -0
  11. data/html/MyAsk/Config.html +195 -0
  12. data/html/MyAsk/ConfigHelper.html +251 -0
  13. data/html/MyAsk/Prompt.html +221 -0
  14. data/html/MyAsk/PromptHelper.html +330 -0
  15. data/html/MyAsk.html +114 -0
  16. data/html/README_rdoc.html +394 -0
  17. data/html/created.rid +14 -0
  18. data/html/css/fonts.css +167 -0
  19. data/html/css/rdoc.css +681 -0
  20. data/html/fonts/Lato-Light.ttf +0 -0
  21. data/html/fonts/Lato-LightItalic.ttf +0 -0
  22. data/html/fonts/Lato-Regular.ttf +0 -0
  23. data/html/fonts/Lato-RegularItalic.ttf +0 -0
  24. data/html/fonts/SourceCodePro-Bold.ttf +0 -0
  25. data/html/fonts/SourceCodePro-Regular.ttf +0 -0
  26. data/html/images/add.png +0 -0
  27. data/html/images/arrow_up.png +0 -0
  28. data/html/images/brick.png +0 -0
  29. data/html/images/brick_link.png +0 -0
  30. data/html/images/bug.png +0 -0
  31. data/html/images/bullet_black.png +0 -0
  32. data/html/images/bullet_toggle_minus.png +0 -0
  33. data/html/images/bullet_toggle_plus.png +0 -0
  34. data/html/images/date.png +0 -0
  35. data/html/images/delete.png +0 -0
  36. data/html/images/find.png +0 -0
  37. data/html/images/loadingAnimation.gif +0 -0
  38. data/html/images/macFFBgHack.png +0 -0
  39. data/html/images/package.png +0 -0
  40. data/html/images/page_green.png +0 -0
  41. data/html/images/page_white_text.png +0 -0
  42. data/html/images/page_white_width.png +0 -0
  43. data/html/images/plugin.png +0 -0
  44. data/html/images/ruby.png +0 -0
  45. data/html/images/tag_blue.png +0 -0
  46. data/html/images/tag_green.png +0 -0
  47. data/html/images/transparent.png +0 -0
  48. data/html/images/wrench.png +0 -0
  49. data/html/images/wrench_orange.png +0 -0
  50. data/html/images/zoom.png +0 -0
  51. data/html/index.html +403 -0
  52. data/html/js/darkfish.js +120 -0
  53. data/html/js/navigation.js +105 -0
  54. data/html/js/navigation.js.gz +0 -0
  55. data/html/js/search.js +110 -0
  56. data/html/js/search_index.js +1 -0
  57. data/html/js/search_index.js.gz +0 -0
  58. data/html/js/searcher.js +229 -0
  59. data/html/js/searcher.js.gz +0 -0
  60. data/html/table_of_contents.html +257 -0
  61. data/lib/myask/prompt_helper.rb +4 -1
  62. data/lib/myask/version.rb +1 -1
  63. data/pkg/myask-0.0.1/Gemfile +10 -0
  64. data/pkg/myask-0.0.1/Gemfile.lock +70 -0
  65. data/pkg/myask-0.0.1/README.rdoc +6 -0
  66. data/pkg/myask-0.0.1/Rakefile +21 -0
  67. data/pkg/myask-0.0.1/bin/myask +101 -0
  68. data/pkg/myask-0.0.1/lib/myask/api/api_helper.rb +45 -0
  69. data/pkg/myask-0.0.1/lib/myask/api/invitation.rb +49 -0
  70. data/pkg/myask-0.0.1/lib/myask/api/project.rb +193 -0
  71. data/pkg/myask-0.0.1/lib/myask/api/project_helper.rb +46 -0
  72. data/pkg/myask-0.0.1/lib/myask/api/question.rb +99 -0
  73. data/pkg/myask-0.0.1/lib/myask/config.rb +37 -0
  74. data/pkg/myask-0.0.1/lib/myask/config_helper.rb +28 -0
  75. data/pkg/myask-0.0.1/lib/myask/prompt.rb +63 -0
  76. data/pkg/myask-0.0.1/lib/myask/prompt_helper.rb +83 -0
  77. data/pkg/myask-0.0.1/lib/myask/version.rb +3 -0
  78. data/pkg/myask-0.0.1/lib/myask.rb +28 -0
  79. data/pkg/myask-0.0.1/myask.gemspec +22 -0
  80. data/pkg/myask-0.0.1/myask.rdoc +138 -0
  81. data/pkg/myask-0.0.1/test/default_test.rb +14 -0
  82. data/pkg/myask-0.0.1/test/test_helper.rb +4 -0
  83. data/pkg/myask-0.0.1.gem +0 -0
  84. data/pkg/myask-1.0.0/Gemfile +10 -0
  85. data/pkg/myask-1.0.0/Gemfile.lock +70 -0
  86. data/pkg/myask-1.0.0/README.rdoc +6 -0
  87. data/pkg/myask-1.0.0/Rakefile +21 -0
  88. data/pkg/myask-1.0.0/bin/myask +101 -0
  89. data/pkg/myask-1.0.0/html/App.html +116 -0
  90. data/pkg/myask-1.0.0/html/MyAsk/Api/Helper.html +207 -0
  91. data/pkg/myask-1.0.0/html/MyAsk/Api/Invitation.html +212 -0
  92. data/pkg/myask-1.0.0/html/MyAsk/Api/Project.html +355 -0
  93. data/pkg/myask-1.0.0/html/MyAsk/Api/ProjectHelper.html +299 -0
  94. data/pkg/myask-1.0.0/html/MyAsk/Api/Question.html +261 -0
  95. data/pkg/myask-1.0.0/html/MyAsk/Api.html +120 -0
  96. data/pkg/myask-1.0.0/html/MyAsk/Config.html +195 -0
  97. data/pkg/myask-1.0.0/html/MyAsk/ConfigHelper.html +251 -0
  98. data/pkg/myask-1.0.0/html/MyAsk/Prompt.html +221 -0
  99. data/pkg/myask-1.0.0/html/MyAsk/PromptHelper.html +330 -0
  100. data/pkg/myask-1.0.0/html/MyAsk.html +114 -0
  101. data/pkg/myask-1.0.0/html/README_rdoc.html +394 -0
  102. data/pkg/myask-1.0.0/html/created.rid +14 -0
  103. data/pkg/myask-1.0.0/html/css/fonts.css +167 -0
  104. data/pkg/myask-1.0.0/html/css/rdoc.css +681 -0
  105. data/pkg/myask-1.0.0/html/fonts/Lato-Light.ttf +0 -0
  106. data/pkg/myask-1.0.0/html/fonts/Lato-LightItalic.ttf +0 -0
  107. data/pkg/myask-1.0.0/html/fonts/Lato-Regular.ttf +0 -0
  108. data/pkg/myask-1.0.0/html/fonts/Lato-RegularItalic.ttf +0 -0
  109. data/pkg/myask-1.0.0/html/fonts/SourceCodePro-Bold.ttf +0 -0
  110. data/pkg/myask-1.0.0/html/fonts/SourceCodePro-Regular.ttf +0 -0
  111. data/pkg/myask-1.0.0/html/images/add.png +0 -0
  112. data/pkg/myask-1.0.0/html/images/arrow_up.png +0 -0
  113. data/pkg/myask-1.0.0/html/images/brick.png +0 -0
  114. data/pkg/myask-1.0.0/html/images/brick_link.png +0 -0
  115. data/pkg/myask-1.0.0/html/images/bug.png +0 -0
  116. data/pkg/myask-1.0.0/html/images/bullet_black.png +0 -0
  117. data/pkg/myask-1.0.0/html/images/bullet_toggle_minus.png +0 -0
  118. data/pkg/myask-1.0.0/html/images/bullet_toggle_plus.png +0 -0
  119. data/pkg/myask-1.0.0/html/images/date.png +0 -0
  120. data/pkg/myask-1.0.0/html/images/delete.png +0 -0
  121. data/pkg/myask-1.0.0/html/images/find.png +0 -0
  122. data/pkg/myask-1.0.0/html/images/loadingAnimation.gif +0 -0
  123. data/pkg/myask-1.0.0/html/images/macFFBgHack.png +0 -0
  124. data/pkg/myask-1.0.0/html/images/package.png +0 -0
  125. data/pkg/myask-1.0.0/html/images/page_green.png +0 -0
  126. data/pkg/myask-1.0.0/html/images/page_white_text.png +0 -0
  127. data/pkg/myask-1.0.0/html/images/page_white_width.png +0 -0
  128. data/pkg/myask-1.0.0/html/images/plugin.png +0 -0
  129. data/pkg/myask-1.0.0/html/images/ruby.png +0 -0
  130. data/pkg/myask-1.0.0/html/images/tag_blue.png +0 -0
  131. data/pkg/myask-1.0.0/html/images/tag_green.png +0 -0
  132. data/pkg/myask-1.0.0/html/images/transparent.png +0 -0
  133. data/pkg/myask-1.0.0/html/images/wrench.png +0 -0
  134. data/pkg/myask-1.0.0/html/images/wrench_orange.png +0 -0
  135. data/pkg/myask-1.0.0/html/images/zoom.png +0 -0
  136. data/pkg/myask-1.0.0/html/index.html +403 -0
  137. data/pkg/myask-1.0.0/html/js/darkfish.js +120 -0
  138. data/pkg/myask-1.0.0/html/js/navigation.js +105 -0
  139. data/pkg/myask-1.0.0/html/js/navigation.js.gz +0 -0
  140. data/pkg/myask-1.0.0/html/js/search.js +110 -0
  141. data/pkg/myask-1.0.0/html/js/search_index.js +1 -0
  142. data/pkg/myask-1.0.0/html/js/search_index.js.gz +0 -0
  143. data/pkg/myask-1.0.0/html/js/searcher.js +229 -0
  144. data/pkg/myask-1.0.0/html/js/searcher.js.gz +0 -0
  145. data/pkg/myask-1.0.0/html/table_of_contents.html +257 -0
  146. data/pkg/myask-1.0.0/lib/myask/api/api_helper.rb +45 -0
  147. data/pkg/myask-1.0.0/lib/myask/api/invitation.rb +49 -0
  148. data/pkg/myask-1.0.0/lib/myask/api/project.rb +193 -0
  149. data/pkg/myask-1.0.0/lib/myask/api/project_helper.rb +46 -0
  150. data/pkg/myask-1.0.0/lib/myask/api/question.rb +99 -0
  151. data/pkg/myask-1.0.0/lib/myask/config.rb +37 -0
  152. data/pkg/myask-1.0.0/lib/myask/config_helper.rb +28 -0
  153. data/pkg/myask-1.0.0/lib/myask/prompt.rb +63 -0
  154. data/pkg/myask-1.0.0/lib/myask/prompt_helper.rb +83 -0
  155. data/pkg/myask-1.0.0/lib/myask/version.rb +3 -0
  156. data/pkg/myask-1.0.0/lib/myask.rb +28 -0
  157. data/pkg/myask-1.0.0/myask.gemspec +22 -0
  158. data/pkg/myask-1.0.0/myask.rdoc +138 -0
  159. data/pkg/myask-1.0.0/pkg/myask-0.0.1/Gemfile +10 -0
  160. data/pkg/myask-1.0.0/pkg/myask-0.0.1/Gemfile.lock +70 -0
  161. data/pkg/myask-1.0.0/pkg/myask-0.0.1/README.rdoc +6 -0
  162. data/pkg/myask-1.0.0/pkg/myask-0.0.1/Rakefile +21 -0
  163. data/pkg/myask-1.0.0/pkg/myask-0.0.1/bin/myask +101 -0
  164. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/api_helper.rb +45 -0
  165. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/invitation.rb +49 -0
  166. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/project.rb +193 -0
  167. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/project_helper.rb +46 -0
  168. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/api/question.rb +99 -0
  169. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/config.rb +37 -0
  170. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/config_helper.rb +28 -0
  171. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/prompt.rb +63 -0
  172. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/prompt_helper.rb +83 -0
  173. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask/version.rb +3 -0
  174. data/pkg/myask-1.0.0/pkg/myask-0.0.1/lib/myask.rb +28 -0
  175. data/pkg/myask-1.0.0/pkg/myask-0.0.1/myask.gemspec +22 -0
  176. data/pkg/myask-1.0.0/pkg/myask-0.0.1/myask.rdoc +138 -0
  177. data/pkg/myask-1.0.0/pkg/myask-0.0.1/test/default_test.rb +14 -0
  178. data/pkg/myask-1.0.0/pkg/myask-0.0.1/test/test_helper.rb +4 -0
  179. data/pkg/myask-1.0.0/pkg/myask-0.0.1.gem +0 -0
  180. data/pkg/myask-1.0.0/test/default_test.rb +14 -0
  181. data/pkg/myask-1.0.0/test/test_helper.rb +4 -0
  182. data/pkg/myask-1.0.0.gem +0 -0
  183. 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&gt; 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">&#9776;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h3>
255
+
256
+ <h3 id="label--api_host+arg">–api_host arg<span><a href="#label--api_host+arg">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h3>
289
+
290
+ <p>Silent Progress Spinner</p>
291
+
292
+ <h3 id="label--version">–version<span><a href="#label--version">&para;</a> <a href="#top">&uarr;</a></span></h3>
293
+
294
+ <p>Display the program version</p>
295
+
296
+ <h3 id="label-Commands">Commands<span><a href="#label-Commands">&para;</a> <a href="#top">&uarr;</a></span></h3>
297
+
298
+ <h4 id="label-Command-3A+config+">Command: <code>config </code><span><a href="#label-Command-3A+config+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h5>
303
+
304
+ <h6 id="label-Command-3A+save+">Command: <code>save </code><span><a href="#label-Command-3A+save+">&para;</a> <a href="#top">&uarr;</a></span></h6>
305
+
306
+ <h6 id="label-Command-3A+show+">Command: <code>show </code><span><a href="#label-Command-3A+show+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h5>
319
+
320
+ <h5 id="label-c">-c<span><a href="#label-c">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h5>
331
+
332
+ <h5 id="label---5Bno--5Dforce">–[no-]force<span><a href="#label---5Bno--5Dforce">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h5>
341
+
342
+ <h6 id="label-Command-3A+list+">Command: <code>list </code><span><a href="#label-Command-3A+list+">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</a></span></h5>
359
+
360
+ <h6 id="label-Command-3A+create+">Command: <code>create </code><span><a href="#label-Command-3A+create+">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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+">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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">&para;</a> <a href="#top">&uarr;</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
+
@@ -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