my_help 0.7.4 → 0.8.6
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 +5 -5
- data/.gitignore +1 -1
- data/.rspec +4 -0
- data/.yardoc/checksums +5 -0
- data/.yardoc/complete +0 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +86 -40
- data/README.html +160 -79
- data/README.org +45 -27
- data/Rakefile +17 -9
- data/bin/my_help_thor +66 -0
- data/doc/MyHelp.html +133 -0
- data/doc/MyHelp/Control.html +905 -0
- data/doc/OrgToYaml.html +495 -0
- data/doc/_index.html +135 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.README.html +512 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +512 -0
- data/doc/js/app.js +303 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +179 -0
- data/doc/top-level-namespace.html +112 -0
- data/exe/my_help +145 -0
- data/{bin/my_help → exe/my_help_gli} +0 -0
- data/lib/my_help/my_help_controll.rb +162 -111
- data/lib/my_help/org2yml.rb +2 -1
- data/lib/my_help/version.rb +1 -1
- data/my_help.gemspec +16 -16
- metadata +49 -34
- data/.ruby-version +0 -1
- data/Rakefile_gli +0 -44
- data/my_help.rdoc +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 871927da25328b86ac258c721aa91c4001caefcb8a0e07a170af5ac241561d07
|
4
|
+
data.tar.gz: 1a7639867760309d36cd71a0696dd2bde8ab2d9d78b912984abc88dd72458dc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a598090a7eaa81d6c355168a6a2e41d5ac816119a2c50813047dd37c169418af1198fac09fb1c739cb7d69066980eb5a7bd0766cd4a64d6982b5cb42712b68d
|
7
|
+
data.tar.gz: 972696bf11ff387fb23f5e954d0b24cf6c1d66b8776f92a0a222dc18103835f2b3108021f73715526ae5f1e468e595b221e6e0126ceea4498824e9a5ffa8cd3b
|
data/.gitignore
CHANGED
data/.rspec
ADDED
data/.yardoc/checksums
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
lib/my_help.rb ced6dd68eb7342dc65e8c8506359cb9a18f37fde
|
2
|
+
lib/my_help/org2yml.rb 4be5461e87290a6c8fa4ef802df8b64e8c63ca9a
|
3
|
+
lib/my_help/version.rb 0c71ad78597c647364908e595140b5fb9af9e6a3
|
4
|
+
lib/my_help/my_help_controll.rb fba5c56e7e7c716d4d34b6851a808e959ecdb773
|
5
|
+
lib/my_help/tomo_help_controll.rb da39a3ee5e6b4b0d3255bfef95601890afd80709
|
data/.yardoc/complete
ADDED
File without changes
|
Binary file
|
Binary file
|
data/.yardoc/proxy_types
ADDED
Binary file
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,64 +1,110 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
my_help (0.
|
4
|
+
my_help (0.8.5)
|
5
5
|
colorize
|
6
|
-
|
6
|
+
command_line
|
7
|
+
thor
|
7
8
|
|
8
9
|
GEM
|
9
10
|
remote: https://rubygems.org/
|
10
11
|
specs:
|
11
|
-
|
12
|
-
|
12
|
+
activesupport (6.0.3.3)
|
13
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
|
+
i18n (>= 0.7, < 2)
|
15
|
+
minitest (~> 5.1)
|
16
|
+
tzinfo (~> 1.1)
|
17
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
18
|
+
aruba (0.14.14)
|
19
|
+
childprocess (>= 0.6.3, < 4.0.0)
|
13
20
|
contracts (~> 0.9)
|
14
21
|
cucumber (>= 1.3.19)
|
15
|
-
ffi (~> 1.9
|
22
|
+
ffi (~> 1.9)
|
16
23
|
rspec-expectations (>= 2.99)
|
17
|
-
thor (
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
ffi (~> 1.0, >= 1.0.11)
|
24
|
+
thor (>= 0.19, < 2.0)
|
25
|
+
builder (3.2.4)
|
26
|
+
childprocess (3.0.0)
|
27
|
+
color_echo (3.1.1)
|
22
28
|
colorize (0.8.1)
|
29
|
+
command_line (1.1.0)
|
30
|
+
concurrent-ruby (1.1.7)
|
23
31
|
contracts (0.16.0)
|
24
|
-
cucumber (
|
25
|
-
builder (>= 2.
|
26
|
-
cucumber-core (~>
|
27
|
-
cucumber-
|
28
|
-
cucumber-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
32
|
+
cucumber (5.1.2)
|
33
|
+
builder (~> 3.2, >= 3.2.4)
|
34
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
35
|
+
cucumber-create-meta (~> 2.0, >= 2.0.2)
|
36
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
37
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
38
|
+
cucumber-html-formatter (~> 9.0, >= 9.0.0)
|
39
|
+
cucumber-messages (~> 13.1, >= 13.1.0)
|
40
|
+
cucumber-wire (~> 4.0, >= 4.0.1)
|
41
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
42
|
+
multi_test (~> 0.1, >= 0.1.2)
|
43
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
44
|
+
cucumber-core (8.0.1)
|
45
|
+
cucumber-gherkin (~> 15.0, >= 15.0.2)
|
46
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
47
|
+
cucumber-tag-expressions (~> 2.0, >= 2.0.4)
|
48
|
+
cucumber-create-meta (2.0.2)
|
49
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
50
|
+
sys-uname (~> 1.2, >= 1.2.1)
|
51
|
+
cucumber-cucumber-expressions (10.3.0)
|
52
|
+
cucumber-gherkin (15.0.2)
|
53
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
54
|
+
cucumber-html-formatter (9.0.0)
|
55
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
56
|
+
cucumber-messages (13.1.0)
|
57
|
+
protobuf-cucumber (~> 3.10, >= 3.10.8)
|
58
|
+
cucumber-tag-expressions (2.0.4)
|
59
|
+
cucumber-wire (4.0.1)
|
60
|
+
cucumber-core (~> 8.0, >= 8.0.1)
|
61
|
+
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
62
|
+
cucumber-messages (~> 13.0, >= 13.0.1)
|
63
|
+
diff-lcs (1.4.4)
|
64
|
+
ffi (1.13.1)
|
65
|
+
i18n (1.8.5)
|
66
|
+
concurrent-ruby (~> 1.0)
|
67
|
+
middleware (0.1.0)
|
68
|
+
minitest (5.14.2)
|
45
69
|
multi_test (0.1.2)
|
46
|
-
|
47
|
-
|
48
|
-
|
70
|
+
protobuf-cucumber (3.10.8)
|
71
|
+
activesupport (>= 3.2)
|
72
|
+
middleware
|
73
|
+
thor
|
74
|
+
thread_safe
|
75
|
+
rake (13.0.1)
|
76
|
+
rspec (3.9.0)
|
77
|
+
rspec-core (~> 3.9.0)
|
78
|
+
rspec-expectations (~> 3.9.0)
|
79
|
+
rspec-mocks (~> 3.9.0)
|
80
|
+
rspec-core (3.9.2)
|
81
|
+
rspec-support (~> 3.9.3)
|
82
|
+
rspec-expectations (3.9.2)
|
49
83
|
diff-lcs (>= 1.2.0, < 2.0)
|
50
|
-
rspec-support (~> 3.
|
51
|
-
rspec-
|
52
|
-
|
84
|
+
rspec-support (~> 3.9.0)
|
85
|
+
rspec-mocks (3.9.1)
|
86
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
87
|
+
rspec-support (~> 3.9.0)
|
88
|
+
rspec-support (3.9.3)
|
89
|
+
sys-uname (1.2.1)
|
90
|
+
ffi (>= 1.0.0)
|
91
|
+
thor (1.0.1)
|
92
|
+
thread_safe (0.3.6)
|
93
|
+
tzinfo (1.2.7)
|
94
|
+
thread_safe (~> 0.1)
|
95
|
+
zeitwerk (2.4.0)
|
53
96
|
|
54
97
|
PLATFORMS
|
55
98
|
ruby
|
56
99
|
|
57
100
|
DEPENDENCIES
|
58
|
-
aruba
|
101
|
+
aruba (~> 0.14.12)
|
102
|
+
color_echo
|
103
|
+
command_line (~> 1.1.0)
|
104
|
+
ffi (~> 1.9)
|
59
105
|
my_help!
|
60
106
|
rake
|
61
|
-
|
107
|
+
rspec
|
62
108
|
|
63
109
|
BUNDLED WITH
|
64
|
-
1.
|
110
|
+
2.1.4
|
data/README.html
CHANGED
@@ -3,23 +3,30 @@
|
|
3
3
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="jp" xml:lang="jp">
|
5
5
|
<head>
|
6
|
+
<!-- 2019-04-26 金 12:47 -->
|
7
|
+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
6
9
|
<title>my_help README</title>
|
7
|
-
|
8
|
-
<meta
|
9
|
-
<meta name="generator" content="Org-mode" />
|
10
|
-
<meta name="author" content="Shigeto R. Nishitani" />
|
10
|
+
<meta name="generator" content="Org mode" />
|
11
|
+
<meta name="author" content="Shigeto R. Nishitani" />
|
11
12
|
<style type="text/css">
|
12
13
|
<!--/*--><![CDATA[/*><!--*/
|
13
|
-
.title { text-align: center;
|
14
|
+
.title { text-align: center;
|
15
|
+
margin-bottom: .2em; }
|
16
|
+
.subtitle { text-align: center;
|
17
|
+
font-size: medium;
|
18
|
+
font-weight: bold;
|
19
|
+
margin-top:0; }
|
14
20
|
.todo { font-family: monospace; color: red; }
|
15
|
-
.done { color: green; }
|
21
|
+
.done { font-family: monospace; color: green; }
|
22
|
+
.priority { font-family: monospace; color: orange; }
|
16
23
|
.tag { background-color: #eee; font-family: monospace;
|
17
24
|
padding: 2px; font-size: 80%; font-weight: normal; }
|
18
25
|
.timestamp { color: #bebebe; }
|
19
26
|
.timestamp-kwd { color: #5f9ea0; }
|
20
|
-
.right { margin-left: auto; margin-right: 0px; text-align: right; }
|
21
|
-
.left { margin-left: 0px; margin-right: auto; text-align: left; }
|
22
|
-
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
27
|
+
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
|
28
|
+
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
|
29
|
+
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
|
23
30
|
.underline { text-decoration: underline; }
|
24
31
|
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
|
25
32
|
p.verse { margin-left: 3%; }
|
@@ -46,27 +53,111 @@
|
|
46
53
|
border: 1px solid black;
|
47
54
|
}
|
48
55
|
pre.src:hover:before { display: inline;}
|
49
|
-
|
50
|
-
pre.src-
|
56
|
+
/* Languages per Org manual */
|
57
|
+
pre.src-asymptote:before { content: 'Asymptote'; }
|
58
|
+
pre.src-awk:before { content: 'Awk'; }
|
59
|
+
pre.src-C:before { content: 'C'; }
|
60
|
+
/* pre.src-C++ doesn't work in CSS */
|
61
|
+
pre.src-clojure:before { content: 'Clojure'; }
|
62
|
+
pre.src-css:before { content: 'CSS'; }
|
63
|
+
pre.src-D:before { content: 'D'; }
|
64
|
+
pre.src-ditaa:before { content: 'ditaa'; }
|
65
|
+
pre.src-dot:before { content: 'Graphviz'; }
|
66
|
+
pre.src-calc:before { content: 'Emacs Calc'; }
|
51
67
|
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
|
52
|
-
pre.src-
|
53
|
-
pre.src-
|
54
|
-
pre.src-
|
55
|
-
pre.src-
|
68
|
+
pre.src-fortran:before { content: 'Fortran'; }
|
69
|
+
pre.src-gnuplot:before { content: 'gnuplot'; }
|
70
|
+
pre.src-haskell:before { content: 'Haskell'; }
|
71
|
+
pre.src-hledger:before { content: 'hledger'; }
|
72
|
+
pre.src-java:before { content: 'Java'; }
|
73
|
+
pre.src-js:before { content: 'Javascript'; }
|
74
|
+
pre.src-latex:before { content: 'LaTeX'; }
|
75
|
+
pre.src-ledger:before { content: 'Ledger'; }
|
76
|
+
pre.src-lisp:before { content: 'Lisp'; }
|
77
|
+
pre.src-lilypond:before { content: 'Lilypond'; }
|
78
|
+
pre.src-lua:before { content: 'Lua'; }
|
79
|
+
pre.src-matlab:before { content: 'MATLAB'; }
|
80
|
+
pre.src-mscgen:before { content: 'Mscgen'; }
|
81
|
+
pre.src-ocaml:before { content: 'Objective Caml'; }
|
82
|
+
pre.src-octave:before { content: 'Octave'; }
|
83
|
+
pre.src-org:before { content: 'Org mode'; }
|
84
|
+
pre.src-oz:before { content: 'OZ'; }
|
85
|
+
pre.src-plantuml:before { content: 'Plantuml'; }
|
86
|
+
pre.src-processing:before { content: 'Processing.js'; }
|
87
|
+
pre.src-python:before { content: 'Python'; }
|
88
|
+
pre.src-R:before { content: 'R'; }
|
89
|
+
pre.src-ruby:before { content: 'Ruby'; }
|
90
|
+
pre.src-sass:before { content: 'Sass'; }
|
91
|
+
pre.src-scheme:before { content: 'Scheme'; }
|
92
|
+
pre.src-screen:before { content: 'Gnu Screen'; }
|
93
|
+
pre.src-sed:before { content: 'Sed'; }
|
94
|
+
pre.src-sh:before { content: 'shell'; }
|
95
|
+
pre.src-sql:before { content: 'SQL'; }
|
96
|
+
pre.src-sqlite:before { content: 'SQLite'; }
|
97
|
+
/* additional languages in org.el's org-babel-load-languages alist */
|
98
|
+
pre.src-forth:before { content: 'Forth'; }
|
99
|
+
pre.src-io:before { content: 'IO'; }
|
100
|
+
pre.src-J:before { content: 'J'; }
|
101
|
+
pre.src-makefile:before { content: 'Makefile'; }
|
102
|
+
pre.src-maxima:before { content: 'Maxima'; }
|
103
|
+
pre.src-perl:before { content: 'Perl'; }
|
104
|
+
pre.src-picolisp:before { content: 'Pico Lisp'; }
|
105
|
+
pre.src-scala:before { content: 'Scala'; }
|
106
|
+
pre.src-shell:before { content: 'Shell Script'; }
|
107
|
+
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
|
108
|
+
/* additional language identifiers per "defun org-babel-execute"
|
109
|
+
in ob-*.el */
|
110
|
+
pre.src-cpp:before { content: 'C++'; }
|
111
|
+
pre.src-abc:before { content: 'ABC'; }
|
112
|
+
pre.src-coq:before { content: 'Coq'; }
|
113
|
+
pre.src-groovy:before { content: 'Groovy'; }
|
114
|
+
/* additional language identifiers from org-babel-shell-names in
|
115
|
+
ob-shell.el: ob-shell is the only babel language using a lambda to put
|
116
|
+
the execution function name together. */
|
117
|
+
pre.src-bash:before { content: 'bash'; }
|
118
|
+
pre.src-csh:before { content: 'csh'; }
|
119
|
+
pre.src-ash:before { content: 'ash'; }
|
120
|
+
pre.src-dash:before { content: 'dash'; }
|
121
|
+
pre.src-ksh:before { content: 'ksh'; }
|
122
|
+
pre.src-mksh:before { content: 'mksh'; }
|
123
|
+
pre.src-posh:before { content: 'posh'; }
|
124
|
+
/* Additional Emacs modes also supported by the LaTeX listings package */
|
125
|
+
pre.src-ada:before { content: 'Ada'; }
|
126
|
+
pre.src-asm:before { content: 'Assembler'; }
|
127
|
+
pre.src-caml:before { content: 'Caml'; }
|
128
|
+
pre.src-delphi:before { content: 'Delphi'; }
|
129
|
+
pre.src-html:before { content: 'HTML'; }
|
130
|
+
pre.src-idl:before { content: 'IDL'; }
|
131
|
+
pre.src-mercury:before { content: 'Mercury'; }
|
132
|
+
pre.src-metapost:before { content: 'MetaPost'; }
|
133
|
+
pre.src-modula-2:before { content: 'Modula-2'; }
|
134
|
+
pre.src-pascal:before { content: 'Pascal'; }
|
135
|
+
pre.src-ps:before { content: 'PostScript'; }
|
136
|
+
pre.src-prolog:before { content: 'Prolog'; }
|
137
|
+
pre.src-simula:before { content: 'Simula'; }
|
138
|
+
pre.src-tcl:before { content: 'tcl'; }
|
139
|
+
pre.src-tex:before { content: 'TeX'; }
|
140
|
+
pre.src-plain-tex:before { content: 'Plain TeX'; }
|
141
|
+
pre.src-verilog:before { content: 'Verilog'; }
|
142
|
+
pre.src-vhdl:before { content: 'VHDL'; }
|
143
|
+
pre.src-xml:before { content: 'XML'; }
|
144
|
+
pre.src-nxml:before { content: 'XML'; }
|
145
|
+
/* add a generic configuration mode; LaTeX export needs an additional
|
146
|
+
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
|
147
|
+
pre.src-conf:before { content: 'Configuration File'; }
|
56
148
|
|
57
149
|
table { border-collapse:collapse; }
|
58
150
|
caption.t-above { caption-side: top; }
|
59
151
|
caption.t-bottom { caption-side: bottom; }
|
60
152
|
td, th { vertical-align:top; }
|
61
|
-
th.right { text-align: center; }
|
62
|
-
th.left { text-align: center; }
|
63
|
-
th.center { text-align: center; }
|
64
|
-
td.right { text-align: right; }
|
65
|
-
td.left { text-align: left; }
|
66
|
-
td.center { text-align: center; }
|
153
|
+
th.org-right { text-align: center; }
|
154
|
+
th.org-left { text-align: center; }
|
155
|
+
th.org-center { text-align: center; }
|
156
|
+
td.org-right { text-align: right; }
|
157
|
+
td.org-left { text-align: left; }
|
158
|
+
td.org-center { text-align: center; }
|
67
159
|
dt { font-weight: bold; }
|
68
|
-
.footpara
|
69
|
-
.footpara { display: block; }
|
160
|
+
.footpara { display: inline; }
|
70
161
|
.footdef { margin-bottom: 1em; }
|
71
162
|
.figure { padding: 1em; }
|
72
163
|
.figure p { text-align: center; }
|
@@ -86,20 +177,21 @@
|
|
86
177
|
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
|
87
178
|
.org-info-js_search-highlight
|
88
179
|
{ background-color: #ffff00; color: #000000; font-weight: bold; }
|
180
|
+
.org-svg { width: 90%; }
|
89
181
|
/*]]>*/-->
|
90
182
|
</style>
|
91
|
-
<link rel="stylesheet" type="text/css" href="https://
|
92
|
-
<link rel="stylesheet" type="text/css" href="https://
|
183
|
+
<link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/htmlize.css"/>
|
184
|
+
<link rel="stylesheet" type="text/css" href="https://fniessen.github.io/org-html-themes/styles/readtheorg/css/readtheorg.css"/>
|
93
185
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
94
186
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
95
|
-
<script type="text/javascript" src="https://
|
96
|
-
<script type="text/javascript" src="https://
|
187
|
+
<script type="text/javascript" src="https://fniessen.github.io/org-html-themes/styles/lib/js/jquery.stickytableheaders.min.js"></script>
|
188
|
+
<script type="text/javascript" src="https://fniessen.github.io/org-html-themes/styles/readtheorg/js/readtheorg.js"></script>
|
97
189
|
<script type="text/javascript">
|
98
190
|
/*
|
99
191
|
@licstart The following is the entire license notice for the
|
100
192
|
JavaScript code in this tag.
|
101
193
|
|
102
|
-
Copyright (C) 2012-
|
194
|
+
Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
103
195
|
|
104
196
|
The JavaScript code in this tag is free software: you can
|
105
197
|
redistribute it and/or modify it under the terms of the GNU
|
@@ -148,24 +240,23 @@ for the JavaScript code in this tag.
|
|
148
240
|
<h2>Table of Contents</h2>
|
149
241
|
<div id="text-table-of-contents">
|
150
242
|
<ul>
|
151
|
-
<li><a href="
|
152
|
-
<li><a href="#my_help">2. (my_helpで解決しようとする)問題点</a></li>
|
153
|
-
<li><a href="
|
154
|
-
<li><a href="
|
243
|
+
<li><a href="#概要">1. 概要</a></li>
|
244
|
+
<li><a href="#my_helpで解決しようとする問題点">2. (my_helpで解決しようとする)問題点</a></li>
|
245
|
+
<li><a href="#特徴">3. 特徴</a></li>
|
246
|
+
<li><a href="#使用法">4. 使用法</a>
|
155
247
|
<ul>
|
156
|
-
<li><a href="#
|
157
|
-
<li><a href="
|
158
|
-
<li><a href="
|
248
|
+
<li><a href="#org3ddc9ea">4.1. インストール</a></li>
|
249
|
+
<li><a href="#簡単な使用法">4.2. 簡単な使用法</a></li>
|
250
|
+
<li><a href="#独自のhelpを作る方法">4.3. 独自のhelpを作る方法</a></li>
|
159
251
|
</ul>
|
160
252
|
</li>
|
161
253
|
</ul>
|
162
254
|
</div>
|
163
255
|
</div>
|
164
256
|
|
165
|
-
<div id="outline-container
|
166
|
-
<h2 id="概要"><a id="
|
257
|
+
<div id="outline-container-orga76e8f5" class="outline-2">
|
258
|
+
<h2 id="概要"><a id="orga76e8f5"></a><span class="section-number-2">1</span> 概要</h2>
|
167
259
|
<div class="outline-text-2" id="text-概要">
|
168
|
-
|
169
260
|
<p>
|
170
261
|
CUI(CLA)ヘルプのUsage出力を真似て,user独自のhelpを作成・提供するgem.
|
171
262
|
</p>
|
@@ -173,26 +264,20 @@ CUI(CLA)ヘルプのUsage出力を真似て,user独自のhelpを作成・提
|
|
173
264
|
</div>
|
174
265
|
|
175
266
|
|
176
|
-
<div id="outline-container-
|
177
|
-
<h2 id="my_helpで解決しようとする問題点"><a id="
|
267
|
+
<div id="outline-container-org230661d" class="outline-2">
|
268
|
+
<h2 id="my_helpで解決しようとする問題点"><a id="org230661d"></a><span class="section-number-2">2</span> (my_helpで解決しようとする)問題点</h2>
|
178
269
|
<div class="outline-text-2" id="text-my_helpで解決しようとする問題点">
|
179
|
-
|
180
270
|
<p>
|
181
271
|
CUIやshell, 何かのプログラミング言語などを習得しようとする初心者は,
|
182
272
|
commandや文法を覚えるのに苦労します.少しのkey(とっかかり)があると
|
183
273
|
思い出すんですが,うろ覚えでは間違えて路頭に迷います.問題点は,
|
184
274
|
</p>
|
185
275
|
<ul class="org-ul">
|
186
|
-
<li>man
|
187
|
-
|
188
|
-
<li>
|
189
|
-
|
190
|
-
<li
|
191
|
-
</li>
|
192
|
-
<li>同じとこ見ている
|
193
|
-
</li>
|
194
|
-
<li>memoしても,どこへ置いたか忘れる
|
195
|
-
</li>
|
276
|
+
<li>manは基本的に英語</li>
|
277
|
+
<li>manualでは重たい</li>
|
278
|
+
<li>いつもおなじことをwebで検索して</li>
|
279
|
+
<li>同じとこ見ている</li>
|
280
|
+
<li>memoしても,どこへ置いたか忘れる</li>
|
196
281
|
</ul>
|
197
282
|
<p>
|
198
283
|
などです.
|
@@ -200,25 +285,19 @@ commandや文法を覚えるのに苦労します.少しのkey(とっかかり
|
|
200
285
|
</div>
|
201
286
|
</div>
|
202
287
|
|
203
|
-
<div id="outline-container
|
204
|
-
<h2 id="特徴"><a id="
|
288
|
+
<div id="outline-container-org63e30d5" class="outline-2">
|
289
|
+
<h2 id="特徴"><a id="org63e30d5"></a><span class="section-number-2">3</span> 特徴</h2>
|
205
290
|
<div class="outline-text-2" id="text-特徴">
|
206
|
-
|
207
291
|
<p>
|
208
292
|
これらをCLA環境として提供しようというのが,このgemの目的です.
|
209
293
|
仕様としては,
|
210
294
|
</p>
|
211
295
|
<ul class="org-ul">
|
212
|
-
<li>userが自分にあったman
|
213
|
-
|
214
|
-
<li
|
215
|
-
|
216
|
-
<li
|
217
|
-
</li>
|
218
|
-
<li>すぐに手が届く
|
219
|
-
</li>
|
220
|
-
<li>それらを追加・修正・削除できる
|
221
|
-
</li>
|
296
|
+
<li>userが自分にあったmanを作成</li>
|
297
|
+
<li>雛形を提供</li>
|
298
|
+
<li>おなじformat, looks, 操作, 階層構造</li>
|
299
|
+
<li>すぐに手が届く</li>
|
300
|
+
<li>それらを追加・修正・削除できる</li>
|
222
301
|
</ul>
|
223
302
|
|
224
303
|
<p>
|
@@ -234,15 +313,16 @@ RPGでレベル上げとかアイテムを貯めるようにして,
|
|
234
313
|
</div>
|
235
314
|
</div>
|
236
315
|
|
237
|
-
<div id="outline-container
|
238
|
-
<h2 id="使用法"><a id="
|
316
|
+
<div id="outline-container-org03968c9" class="outline-2">
|
317
|
+
<h2 id="使用法"><a id="org03968c9"></a><span class="section-number-2">4</span> 使用法</h2>
|
239
318
|
<div class="outline-text-2" id="text-使用法">
|
240
319
|
</div>
|
241
|
-
<div id="outline-container-
|
242
|
-
<h3 id="
|
320
|
+
<div id="outline-container-org3ddc9ea" class="outline-3">
|
321
|
+
<h3 id="org3ddc9ea"><span class="section-number-3">4.1</span> インストール</h3>
|
243
322
|
<div class="outline-text-3" id="text-4-1">
|
244
323
|
<pre class="example">
|
245
324
|
$ gem install my_help
|
325
|
+
|
246
326
|
</pre>
|
247
327
|
<p>
|
248
328
|
です.
|
@@ -250,10 +330,9 @@ $ gem install my_help
|
|
250
330
|
</div>
|
251
331
|
</div>
|
252
332
|
|
253
|
-
<div id="outline-container
|
254
|
-
<h3 id="簡単な使用法"><a id="
|
333
|
+
<div id="outline-container-org157ee1b" class="outline-3">
|
334
|
+
<h3 id="簡単な使用法"><a id="org157ee1b"></a><span class="section-number-3">4.2</span> 簡単な使用法</h3>
|
255
335
|
<div class="outline-text-3" id="text-簡単な使用法">
|
256
|
-
|
257
336
|
<p>
|
258
337
|
まずは,
|
259
338
|
</p>
|
@@ -285,9 +364,10 @@ COMMANDS
|
|
285
364
|
|
286
365
|
<pre class="example">
|
287
366
|
my_help list
|
288
|
-
my_help list
|
289
|
-
my_help list
|
290
|
-
my_help list
|
367
|
+
my_help list emacs
|
368
|
+
my_help list emacs -f
|
369
|
+
my_help list emacs file
|
370
|
+
|
291
371
|
</pre>
|
292
372
|
<p>
|
293
373
|
として動かしてみてください.
|
@@ -319,16 +399,16 @@ my_help list emacs_help file
|
|
319
399
|
</div>
|
320
400
|
</div>
|
321
401
|
|
322
|
-
<div id="outline-container
|
323
|
-
<h3 id="独自のhelpを作る方法"><a id="
|
402
|
+
<div id="outline-container-orgc3249b5" class="outline-3">
|
403
|
+
<h3 id="独自のhelpを作る方法"><a id="orgc3249b5"></a><span class="section-number-3">4.3</span> 独自のhelpを作る方法</h3>
|
324
404
|
<div class="outline-text-3" id="text-独自のhelpを作る方法">
|
325
|
-
|
326
405
|
<p>
|
327
406
|
さて,独自のhelpを作る方法です.まずは,
|
328
407
|
</p>
|
329
408
|
|
330
409
|
<pre class="example">
|
331
410
|
my_help new new_help
|
411
|
+
|
332
412
|
</pre>
|
333
413
|
|
334
414
|
<p>
|
@@ -336,6 +416,7 @@ my_help new new_help
|
|
336
416
|
</p>
|
337
417
|
<pre class="example">
|
338
418
|
my_help edit new_help
|
419
|
+
|
339
420
|
</pre>
|
340
421
|
<p>
|
341
422
|
で編集してください. emacs org形式で,格納されています.
|
@@ -343,6 +424,7 @@ my_help edit new_help
|
|
343
424
|
|
344
425
|
<pre class="example">
|
345
426
|
my_help delete new_help
|
427
|
+
|
346
428
|
</pre>
|
347
429
|
|
348
430
|
<p>
|
@@ -354,8 +436,7 @@ my_help delete new_help
|
|
354
436
|
</div>
|
355
437
|
<div id="postamble" class="status">
|
356
438
|
<p class="author">Author: Shigeto R. Nishitani</p>
|
357
|
-
<p class="date">Created:
|
358
|
-
<p class="creator"><a href="http://www.gnu.org/software/emacs/">Emacs</a> 25.3.1 (<a href="http://orgmode.org">Org</a> mode 8.2.10)</p>
|
439
|
+
<p class="date">Created: 2019-04-26 金 12:47</p>
|
359
440
|
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
|
360
441
|
</div>
|
361
442
|
</body>
|