benry-cmdapp 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES.md +8 -0
- data/MIT-LICENSE +21 -0
- data/README.md +2475 -0
- data/benry-cmdapp.gemspec +38 -0
- data/doc/benry-cmdapp.html +2314 -0
- data/doc/css/style.css +168 -0
- data/lib/benry/cmdapp.rb +1376 -0
- data/test/action_test.rb +1038 -0
- data/test/app_test.rb +1371 -0
- data/test/func_test.rb +137 -0
- data/test/help_test.rb +755 -0
- data/test/index_test.rb +185 -0
- data/test/run_all.rb +7 -0
- data/test/shared.rb +75 -0
- data/test/util_test.rb +189 -0
- metadata +98 -0
data/doc/css/style.css
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
body {
|
4
|
+
font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
|
5
|
+
color: #333;
|
6
|
+
line-height: 1.42857143;
|
7
|
+
background: #eef0f6;
|
8
|
+
margin-top: 0;
|
9
|
+
}
|
10
|
+
main {
|
11
|
+
max-width: 830px;
|
12
|
+
margin: 0 auto;
|
13
|
+
font-size: 16px;
|
14
|
+
color: #999;
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
h1 {
|
19
|
+
text-align: center;
|
20
|
+
margin: 0 0 30px 0;
|
21
|
+
padding: 50px 0 30px 0;
|
22
|
+
background: #39c;
|
23
|
+
color: #fff;
|
24
|
+
font-weight: normal;
|
25
|
+
font-size: 280%;
|
26
|
+
border-radius: 0 0 10px 10px;
|
27
|
+
}
|
28
|
+
h2 {
|
29
|
+
border: solid 0px #39c;
|
30
|
+
border-width: 0 0 0 15px;
|
31
|
+
padding: 20px 0 10px 15px;
|
32
|
+
font-size: 200%;
|
33
|
+
font-weight: normal;
|
34
|
+
color: #39c;
|
35
|
+
margin: 0 0 20px 0;
|
36
|
+
}
|
37
|
+
h3 {
|
38
|
+
color: #39c;
|
39
|
+
margin-top: 30px;
|
40
|
+
font-size: 180%;
|
41
|
+
font-weight: normal;
|
42
|
+
}
|
43
|
+
h2 > code, h3 > code {
|
44
|
+
color: #39c;
|
45
|
+
font-weight: bold;
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
section.section {
|
50
|
+
background: #fff;
|
51
|
+
border-radius: 10px;
|
52
|
+
padding: 30px 15px 30px 15px;
|
53
|
+
color: #333;
|
54
|
+
margin: 30px 0 30px 0;
|
55
|
+
}
|
56
|
+
section.subsection {
|
57
|
+
margin-top: 60px;
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
pre, code, kbd, var, samp {
|
62
|
+
font-family: 'Courier New',Courier,Menlo,Monaco,Consolas,Meiryo,monospace,monospace;
|
63
|
+
}
|
64
|
+
pre {
|
65
|
+
border: solid 1px #ddd;
|
66
|
+
border-radius: 4px;
|
67
|
+
background: #eee;
|
68
|
+
Xbackground: #f6f6f6;
|
69
|
+
padding: 5px 10px;
|
70
|
+
color: #444;
|
71
|
+
word-break: break-all;
|
72
|
+
}
|
73
|
+
pre > strong {
|
74
|
+
font-weight: bold;
|
75
|
+
color: #900;
|
76
|
+
}
|
77
|
+
pre.language-terminal {
|
78
|
+
background: #333;
|
79
|
+
color: #fff;
|
80
|
+
border-color: #000;
|
81
|
+
}
|
82
|
+
pre.language-terminal > strong {
|
83
|
+
color: #f66;
|
84
|
+
}
|
85
|
+
code {
|
86
|
+
border: solid 1px #e9e9e9;
|
87
|
+
border-radius: 2px;
|
88
|
+
background: #f6f6f6;
|
89
|
+
padding: 1px 3px;
|
90
|
+
color: #444;
|
91
|
+
}
|
92
|
+
h2 > code, h3 > code {
|
93
|
+
border: none;
|
94
|
+
background-color: transparent;
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
dt.bold {
|
99
|
+
font-weight: bold;
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
/**
|
104
|
+
nav.nav {
|
105
|
+
}
|
106
|
+
ul.nav {
|
107
|
+
padding: 0;
|
108
|
+
border: solid 1px #39c;
|
109
|
+
border-width: 0 0 6px 0;
|
110
|
+
}
|
111
|
+
li.nav {
|
112
|
+
display: inline-block;
|
113
|
+
margin-left: 10px;
|
114
|
+
padding: 5px 30px;
|
115
|
+
font-size: large;
|
116
|
+
Xfont-weight: bold;
|
117
|
+
background: #fff;
|
118
|
+
border-radius: 5px 5px 0 0;
|
119
|
+
border: solid 1px #39c;
|
120
|
+
border-width: 1px 1px 0 1px;
|
121
|
+
}
|
122
|
+
li.nav > a {
|
123
|
+
color: #39c;
|
124
|
+
text-decoration: none;
|
125
|
+
}
|
126
|
+
li.nav > a:hover {
|
127
|
+
text-decoration: underline;
|
128
|
+
}
|
129
|
+
li.nav.curr {
|
130
|
+
background: #39c;
|
131
|
+
}
|
132
|
+
li.nav.curr > a {
|
133
|
+
color: #fff;
|
134
|
+
}
|
135
|
+
**/
|
136
|
+
nav.nav {
|
137
|
+
text-align: center;
|
138
|
+
}
|
139
|
+
ul.nav {
|
140
|
+
padding-left: 0;
|
141
|
+
display: inline-block;
|
142
|
+
margin: 0;
|
143
|
+
font-size: 0;
|
144
|
+
}
|
145
|
+
li.nav {
|
146
|
+
display: inline-block;
|
147
|
+
padding: 0 20px;
|
148
|
+
border: solid #39c;
|
149
|
+
border-width: 0 0 0 1px;
|
150
|
+
margin: 0;
|
151
|
+
background: #eef0f6;
|
152
|
+
}
|
153
|
+
li.nav:first-child {
|
154
|
+
border-width: 0 0 0 0;
|
155
|
+
}
|
156
|
+
li.nav > a {
|
157
|
+
font-size: large;
|
158
|
+
text-decoration: none;
|
159
|
+
color: #39c;
|
160
|
+
margin: 0;
|
161
|
+
}
|
162
|
+
li.nav > a:hover {
|
163
|
+
text-decoration: underline;
|
164
|
+
}
|
165
|
+
li.nav.curr > a {
|
166
|
+
font-weight: bold;
|
167
|
+
text-decoration: underline;
|
168
|
+
}
|