my_help 0.3.1 → 0.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de61e9adad0db138c4d95c42f55c97af928af92e
4
- data.tar.gz: 7edc1a0e052ff7a02eb9bb989a5d9c2ec34fa5ac
3
+ metadata.gz: 0a89c867608e778797c4e8e58f2374c991f76ebd
4
+ data.tar.gz: caf2008be34a3aeff33a269d204c75c423cdbfe2
5
5
  SHA512:
6
- metadata.gz: 1a8d9ddf15544917402ea9f43d5bfdb7ffd2141d3499888b4e37cdaff7943851c133fd8d574ab358eb2449c957a276ddabc03188b2d68433a43e89515ae04502
7
- data.tar.gz: 54b905efdb5a76474595de06c83db99216b3d94e4baeedb7356ec99dadbeb01f096248ca1e4050cbfaa8e73ec614c8da86b0670a1e28f3a57fd4e633b82b5fd2
6
+ metadata.gz: 11c14fd942b45faf9b2f662278ea9a0fe32b9f33d14ebffc14557ecf53b2c5045ce8ad200ebf64dcb50e859c8209db7649bf7d06b1b2e413c6c59e168e580834
7
+ data.tar.gz: ab28ef71626b921cbb914ddc62c7d03530caf4bd783672d220c7bb530c2574bb5a93aa22a23a365640834ce077b06b2e58eda952c480039af8dcd29e9df83910
data/README.md CHANGED
@@ -53,8 +53,9 @@ Usage: my_help [options]
53
53
  -l, --list 個別(specific)ヘルプのList表示.
54
54
  -e, --edit NAME NAME(例:test_help)をEdit編集.
55
55
  -i, --init NAME NAME(例:test_help)のtemplateを作成.
56
- -m, --make make and install:local all helps.
56
+ -m, --make make executables for all helps.
57
57
  -c, --clean clean up exe dir.
58
+ --install_local install local after edit helps
58
59
  ```
59
60
  です.まず,-lでdefaultで入っているリストを見てください.
60
61
 
@@ -66,23 +67,21 @@ Specific help file:
66
67
  emacs_help
67
68
  test_help
68
69
  ```
69
- これで,CUIでemacs_help, e_h, test_help, t_hが用意されています.少し振る舞いに慣れてください.
70
+ これで,CUIでemacs_help, e_h, template_help, t_hが用意されています.少し振る舞いに慣れてください.
70
71
 
71
72
  ## 独自のhelpを作る方法
72
73
  さて,独自のhelpを作る方法です.まずは,
73
74
 
74
75
  ```
75
76
  bob% bundle exec exe/my_help -i new_help
76
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
77
- ["-i", "new_help"]
78
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help"
79
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help"
80
- cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
81
- /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
77
+ "/Users/bob/.my_help/new_help"
78
+ "/Users/bob/Github/my_help/lib/daddygongon/template_help"
79
+ cp /Users/bob/Github/my_help/lib/daddygongon/template_help /Users/bob/.my_help/new_help
82
80
  ```
83
81
  で,new_helpというtemplateが用意されます.-e new_helpで編集してください.そのあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
84
82
 
85
83
  ## 独自helpを使えるように
84
+ (これは,-mで自動的に行われるように修正されています)
86
85
  最後,my_helpのdirectoryで
87
86
  ```
88
87
  git add -A
@@ -204,3 +203,60 @@ Usage: eh [options]
204
203
  -q, --quit 終了操作
205
204
  ```
206
205
  としたほうがいいと提案する.アンケートを実施してみてほしい.
206
+
207
+ # uninstall
208
+ my_help -mでinstallするとEXECUTABLE DIRECTORYにhelpのexec filesが自動で追加される.
209
+ ~/.my_helpを修正したときには,あらかじめ
210
+ ```
211
+ gem unistall my_help
212
+ ```
213
+ でそれらをuninstallしておくと良い.
214
+
215
+ ```
216
+ bob% gem uninstall my_help
217
+
218
+ Select gem to uninstall:
219
+ 1. my_help-0.1.0
220
+ 2. my_help-0.2.0
221
+ 3. my_help-0.2.1
222
+ 4. my_help-0.2.2
223
+ 5. my_help-0.2.3
224
+ 6. my_help-0.3.0
225
+ 7. my_help-0.3.1
226
+ 8. my_help-0.3.2
227
+ 9. All versions
228
+ > 9
229
+ Successfully uninstalled my_help-0.1.0
230
+ Successfully uninstalled my_help-0.2.0
231
+ Remove executables:
232
+ #my_help#
233
+
234
+ in addition to the gem? [Yn] Y
235
+ Removing #my_help#
236
+ Successfully uninstalled my_help-0.2.1
237
+ Successfully uninstalled my_help-0.2.2
238
+ Successfully uninstalled my_help-0.2.3
239
+ Successfully uninstalled my_help-0.3.0
240
+ Remove executables:
241
+ test_help
242
+
243
+ in addition to the gem? [Yn] Y
244
+ Removing test_help
245
+ Successfully uninstalled my_help-0.3.1
246
+ Remove executables:
247
+ e_h, emacs_help, m_h, member_help, my_help, n_h, new_help, r_h, ruby_help, t_h, template_help
248
+
249
+ in addition to the gem? [Yn] Y
250
+ Removing e_h
251
+ Removing emacs_help
252
+ Removing m_h
253
+ Removing member_help
254
+ Removing my_help
255
+ Removing n_h
256
+ Removing new_help
257
+ Removing r_h
258
+ Removing ruby_help
259
+ Removing t_h
260
+ Removing template_help
261
+ Successfully uninstalled my_help-0.3.2
262
+ ```
data/README_en.md CHANGED
@@ -53,10 +53,12 @@ Supplied commands are
53
53
  bob% bundle exec exe/my_help
54
54
  Usage: my_help [options]
55
55
  -v, --version show program Version.
56
- -l, --list 個別(specific)ヘルプのList表示.
57
- -e, --edit NAME NAME(例:test_help)をEdit編集.
58
- -i, --init NAME NAME(例:test_help)templateを作成.
56
+ -l, --list list specific help.
57
+ -e, --edit NAME edit NAME(cf test_help).
58
+ -i, --init NAME initialize NAME(cf, test_help) template.
59
59
  -m, --make make and install:local all helps.
60
+ -c, --clean clean up exe dir.
61
+ --install_local install local after edit helps
60
62
  ```
61
63
 
62
64
  At first, see the list of supplied helps by the option of -l.
@@ -85,11 +87,12 @@ bob% bundle exec exe/my_help -i new_help
85
87
  cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
86
88
  /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
87
89
  ```
88
- it makes get ready the template of new_help in daddygongon dir.
90
+ it makes get ready the template of new_help in ~/.my_help directory.
89
91
  Edit it by -e new_help.
90
- Then -m make new_help and n_h in exe directory.
92
+ Then -m makes new_help and n_h in exe directory.
93
+
94
+ ## Activate own help (which is automatically done by -m)
91
95
 
92
- ## Activate own help
93
96
  For the last step, at the my_help directory, put the commands in as follows:
94
97
 
95
98
  ```
data/exe/emacs_help CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'emacs_help')
3
+ help_file = File.join(ENV['HOME'],'.my_help','emacs_help')
5
4
  SpecificHelp::Command.run(help_file, ARGV)
data/hikis/README_en.hiki CHANGED
@@ -51,10 +51,12 @@ Supplied commands are
51
51
  bob% bundle exec exe/my_help
52
52
  Usage: my_help [options]
53
53
  -v, --version show program Version.
54
- -l, --list 個別(specific)ヘルプのList表示.
55
- -e, --edit NAME NAME(例:test_help)をEdit編集.
56
- -i, --init NAME NAME(例:test_help)templateを作成.
54
+ -l, --list list specific help.
55
+ -e, --edit NAME edit NAME(cf test_help).
56
+ -i, --init NAME initialize NAME(cf, test_help) template.
57
57
  -m, --make make and install:local all helps.
58
+ -c, --clean clean up exe dir.
59
+ --install_local install local after edit helps
58
60
  >>>
59
61
 
60
62
  At first, see the list of supplied helps by the option of -l.
@@ -83,11 +85,12 @@ bob% bundle exec exe/my_help -i new_help
83
85
  cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
84
86
  /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
85
87
  >>>
86
- it makes get ready the template of new_help in daddygongon dir.
88
+ it makes get ready the template of new_help in ~/.my_help directory.
87
89
  Edit it by -e new_help.
88
- Then -m make new_help and n_h in exe directory.
90
+ Then -m makes new_help and n_h in exe directory.
91
+
92
+ !!Activate own help (which is automatically done by -m)
89
93
 
90
- !!Activate own help
91
94
  For the last step, at the my_help directory, put the commands in as follows:
92
95
 
93
96
  <<<
data/hikis/README_ja.hiki CHANGED
@@ -51,8 +51,9 @@ Usage: my_help [options]
51
51
  -l, --list 個別(specific)ヘルプのList表示.
52
52
  -e, --edit NAME NAME(例:test_help)をEdit編集.
53
53
  -i, --init NAME NAME(例:test_help)のtemplateを作成.
54
- -m, --make make and install:local all helps.
54
+ -m, --make make executables for all helps.
55
55
  -c, --clean clean up exe dir.
56
+ --install_local install local after edit helps
56
57
  >>>
57
58
  です.まず,-lでdefaultで入っているリストを見てください.
58
59
 
@@ -64,23 +65,21 @@ Specific help file:
64
65
  emacs_help
65
66
  test_help
66
67
  >>>
67
- これで,CUIでemacs_help, e_h, test_help, t_hが用意されています.少し振る舞いに慣れてください.
68
+ これで,CUIでemacs_help, e_h, template_help, t_hが用意されています.少し振る舞いに慣れてください.
68
69
 
69
70
  !!独自のhelpを作る方法
70
71
  さて,独自のhelpを作る方法です.まずは,
71
72
 
72
73
  <<<
73
74
  bob% bundle exec exe/my_help -i new_help
74
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
75
- ["-i", "new_help"]
76
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help"
77
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help"
78
- cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
79
- /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
75
+ "/Users/bob/.my_help/new_help"
76
+ "/Users/bob/Github/my_help/lib/daddygongon/template_help"
77
+ cp /Users/bob/Github/my_help/lib/daddygongon/template_help /Users/bob/.my_help/new_help
80
78
  >>>
81
79
  で,new_helpというtemplateが用意されます.-e new_helpで編集してください.そのあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
82
80
 
83
81
  !!独自helpを使えるように
82
+ (これは,-mで自動的に行われるように修正されています)
84
83
  最後,my_helpのdirectoryで
85
84
  <<<
86
85
  git add -A
@@ -195,4 +194,57 @@ Usage: eh [options]
195
194
  >>>
196
195
  としたほうがいいと提案する.アンケートを実施してみてほしい.
197
196
 
197
+ !uninstall
198
+ my_help -mでinstallするとEXECUTABLE DIRECTORYにhelpのexec filesが自動で追加される.
199
+ ~/.my_helpを修正したときには,あらかじめ
200
+ gem unistall my_help
201
+ でそれらをuninstallしておくと良い.
198
202
 
203
+ <<<
204
+ bob% gem uninstall my_help
205
+
206
+ Select gem to uninstall:
207
+ 1. my_help-0.1.0
208
+ 2. my_help-0.2.0
209
+ 3. my_help-0.2.1
210
+ 4. my_help-0.2.2
211
+ 5. my_help-0.2.3
212
+ 6. my_help-0.3.0
213
+ 7. my_help-0.3.1
214
+ 8. my_help-0.3.2
215
+ 9. All versions
216
+ > 9
217
+ Successfully uninstalled my_help-0.1.0
218
+ Successfully uninstalled my_help-0.2.0
219
+ Remove executables:
220
+ #my_help#
221
+
222
+ in addition to the gem? [Yn] Y
223
+ Removing #my_help#
224
+ Successfully uninstalled my_help-0.2.1
225
+ Successfully uninstalled my_help-0.2.2
226
+ Successfully uninstalled my_help-0.2.3
227
+ Successfully uninstalled my_help-0.3.0
228
+ Remove executables:
229
+ test_help
230
+
231
+ in addition to the gem? [Yn] Y
232
+ Removing test_help
233
+ Successfully uninstalled my_help-0.3.1
234
+ Remove executables:
235
+ e_h, emacs_help, m_h, member_help, my_help, n_h, new_help, r_h, ruby_help, t_h, template_help
236
+
237
+ in addition to the gem? [Yn] Y
238
+ Removing e_h
239
+ Removing emacs_help
240
+ Removing m_h
241
+ Removing member_help
242
+ Removing my_help
243
+ Removing n_h
244
+ Removing new_help
245
+ Removing r_h
246
+ Removing ruby_help
247
+ Removing t_h
248
+ Removing template_help
249
+ Successfully uninstalled my_help-0.3.2
250
+ >>>
@@ -1,10 +1,11 @@
1
1
  <<<
2
+ emacsのキーバインド
2
3
 
3
4
  特殊キー操作
4
5
  c-f, controlキーを押しながら 'f'
5
6
  M-f, escキーを押した後一度離して'f'
6
- 操作の中断c-g, 操作の取り消し(Undo) c-x u
7
-
7
+ 操作の中断c-g, 操作の取り消し(Undo) c-x u
8
+ cc by Shigeto R. Nishitani, 2016
8
9
  カーソル移動cursor
9
10
  c-f, move Forwrard, 前or右へ
10
11
  c-b, move Backwrard, 後or左へ
@@ -12,20 +13,17 @@
12
13
  c-e, go End of line, 行末へ
13
14
  c-n, move Next line, 次行へ
14
15
  c-p, move Previous line, 前行へ
15
-
16
16
  ページ移動page
17
17
  c-v, move Vertical, 次のページへ
18
18
  M-v, move reversive Vertical,前のページへ
19
19
  c-l, centerise Line, 現在行を中心に
20
20
  M-<, move Top of file, ファイルの先頭へ
21
21
  M->, move Bottom of file, ファイルの最後尾へ
22
-
23
22
  ファイル操作file
24
23
  c-x c-f, Find file, ファイルを開く
25
24
  c-x c-s, Save file, ファイルを保存
26
25
  c-x c-w, Write file NAME, ファイルを別名で書き込む
27
-
28
- 編集操作editor
26
+ 編集操作edit
29
27
  c-d, Delete char, 一字削除
30
28
  c-k, Kill line, 一行抹消,カット
31
29
  c-y, Yank, ペースト
@@ -34,18 +32,16 @@
34
32
  c-s, forward incremental Search WORD, 前へWORDを検索
35
33
  c-r, Reverse incremental search WORD, 後へWORDを検索
36
34
  M-x query-replace WORD1 <ret> WORD2:対話的置換(y or nで可否選択)
37
-
38
35
  ウィンドウ操作window
39
36
  c-x 2, 2 windows, 二つに分割
40
37
  c-x 1, 1 windows, 一つに戻す
41
38
  c-x 3, 3rd window sep,縦線分割
42
39
  c-x o, Other windows, 次の画面へ移動
43
-
44
40
  バッファー操作buffer(すでにopenしてemacsにバッファーされたfile)
45
41
  c-x b, show Buffer, バッファのリスト
46
42
  c-x c-b, next Buffer, 次のバッファへ移動
47
-
48
43
  終了操作quit
49
44
  c-x c-c, Quit emacs, ファイルを保存して終了
50
45
  c-z, suspend emacs, 一時停止,fgで復活
51
46
  >>>
47
+
@@ -1,13 +1,16 @@
1
1
  !template_helpの出力結果
2
2
 
3
+ <<<
4
+ bob% bundle exec exe/template_help --to_hiki
5
+ ヘルプのサンプル雛形.
6
+ headに常に表示される内容を記述.
7
+ ---
3
8
  <<<
4
9
  ヘルプのサンプル雛形.
5
- headに常に表示される内容を記述.
6
-
10
+ headに常に表示される内容を記述.
7
11
  単元
8
12
  c-f, move Forwrard, 前or右へ
9
13
  フォーマットは自由です.
10
-
11
14
  単元2
12
15
  c-f, move Forwrard, 前or右へ
13
16
  フォーマットは自由です.
@@ -16,20 +19,21 @@
16
19
  !template_helpの中身
17
20
  helpの実態は~/.my_helpに保存されたYAML形式のfileです.書き方はコメントを参照ください.
18
21
 
19
- <<< yaml
22
+ <<< ruby
20
23
  ---
21
24
  #start header, which appears every time.
22
25
  :head: #never change
23
- - "ヘルプのサンプル雛形.\n" #describe the contents breafly.
24
- - " headに常に表示される内容を記述.\n" #head '- ' is necessary
25
-
26
+ - ヘルプのサンプル雛形 #describe the contents breafly.
27
+ - " headに常に表示される内容を記述" #head '- ' is necessary
28
+ :license: #never change
29
+ - " cc by Shigeto R. Nishitani, 2016" #show licence
26
30
  # start the first item
27
31
  :item: #change snake word
28
32
  :opts: #never change
29
- :short: "-i" #change short option
30
- :long: "--item" #change long option
33
+ :short: -i #change short option
34
+ :long: --item #change long option
31
35
  :desc: 単元(item) #describe what for in help list
32
- :title: "\n単元\n" #describe what for in each help
36
+ :title: 単元 #describe what for in each help
33
37
  :cont: #the following lines are appeared.
34
38
  - c-f, move Forwrard, 前or右へ #top ' - ' are necessary for yaml format
35
39
  - フォーマットは自由です.
@@ -37,10 +41,10 @@ helpの実態は~/.my_helpに保存されたYAML形式のfileです.書き方
37
41
  # start the second item... and so on.
38
42
  :item2:
39
43
  :opts:
40
- :short: "-j"
41
- :long: "--item2"
44
+ :short: -j
45
+ :long: --item2
42
46
  :desc: 単元2(item2)
43
- :title: "\n単元2\n"
47
+ :title: 単元2
44
48
  :cont:
45
49
  - c-f, move Forwrard, 前or右へ
46
50
  - フォーマットは自由です.
@@ -1,18 +1,18 @@
1
1
  ---
2
2
  :head:
3
- - "emacsのキーバインド\n"
4
- - "\n特殊キー操作\n"
5
- - " c-f, controlキーを押しながら 'f'\n"
6
- - " M-f, escキーを押した後一度離して'f'\n"
7
- - " 操作の中断c-g, 操作の取り消し(Undo) c-x u \n"
3
+ - "emacsのキーバインド"
4
+ - "\n特殊キー操作"
5
+ - " c-f, controlキーを押しながら 'f'"
6
+ - " M-f, escキーを押した後一度離して'f'"
7
+ - " 操作の中断c-g, 操作の取り消し(Undo) c-x u"
8
+ :license:
9
+ - " cc by Shigeto R. Nishitani, 2016"
8
10
  :cursor:
9
11
  :opts:
10
12
  :short: "-c"
11
13
  :long: "--cursor"
12
14
  :desc: Cursor移動
13
- :title: |2-
14
-
15
- カーソル移動cursor
15
+ :title: カーソル移動cursor
16
16
  :cont:
17
17
  - c-f, move Forwrard, 前or右へ
18
18
  - c-b, move Backwrard, 後or左へ
@@ -25,9 +25,7 @@
25
25
  :short: "-p"
26
26
  :long: "--ページ"
27
27
  :desc: Page移動
28
- :title: |2-
29
-
30
- ページ移動page
28
+ :title: ページ移動page
31
29
  :cont:
32
30
  - c-v, move Vertical, 次のページへ
33
31
  - M-v, move reversive Vertical,前のページへ
@@ -39,9 +37,7 @@
39
37
  :short: "-f"
40
38
  :long: "--ファイル"
41
39
  :desc: File操作
42
- :title: |2-
43
-
44
- ファイル操作file
40
+ :title: ファイル操作file
45
41
  :cont:
46
42
  - c-x c-f, Find file, ファイルを開く
47
43
  - c-x c-s, Save file, ファイルを保存
@@ -51,9 +47,7 @@
51
47
  :short: "-e"
52
48
  :long: "--編集"
53
49
  :desc: Edit操作
54
- :title: |2-
55
-
56
- 編集操作edit
50
+ :title: 編集操作edit
57
51
  :cont:
58
52
  - c-d, Delete char, 一字削除
59
53
  - c-k, Kill line, 一行抹消,カット
@@ -68,9 +62,7 @@
68
62
  :short: "-w"
69
63
  :long: "--ウィンドウ"
70
64
  :desc: Window操作
71
- :title: |2-
72
-
73
- ウィンドウ操作window
65
+ :title: ウィンドウ操作window
74
66
  :cont:
75
67
  - c-x 2, 2 windows, 二つに分割
76
68
  - c-x 1, 1 windows, 一つに戻す
@@ -81,9 +73,7 @@
81
73
  :short: "-b"
82
74
  :long: "--バッファ"
83
75
  :desc: Buffer操作
84
- :title: |2-
85
-
86
- バッファー操作buffer(すでにopenしてemacsにバッファーされたfile)
76
+ :title: バッファー操作buffer(すでにopenしてemacsにバッファーされたfile)
87
77
  :cont:
88
78
  - c-x b, show Buffer, バッファのリスト
89
79
  - c-x c-b, next Buffer, 次のバッファへ移動
@@ -92,9 +82,7 @@
92
82
  :short: "-q"
93
83
  :long: "--終了"
94
84
  :desc: "終了操作"
95
- :title: |2-
96
-
97
- 終了操作quit
85
+ :title: 終了操作quit
98
86
  :cont:
99
87
  - c-x c-c, Quit emacs, ファイルを保存して終了
100
88
  - c-z, suspend emacs, 一時停止,fgで復活
@@ -1,16 +1,17 @@
1
1
  ---
2
2
  #start header, which appears every time.
3
3
  :head: #never change
4
- - "ヘルプのサンプル雛形.\n" #describe the contents breafly.
5
- - " headに常に表示される内容を記述.\n" #head '- ' is necessary
6
-
4
+ - ヘルプのサンプル雛形 #describe the contents breafly.
5
+ - " headに常に表示される内容を記述" #head '- ' is necessary
6
+ :license: #never change
7
+ - " cc by Shigeto R. Nishitani, 2016" #show licence
7
8
  # start the first item
8
9
  :item: #change snake word
9
10
  :opts: #never change
10
- :short: "-i" #change short option
11
- :long: "--item" #change long option
11
+ :short: -i #change short option
12
+ :long: --item #change long option
12
13
  :desc: 単元(item) #describe what for in help list
13
- :title: "\n単元\n" #describe what for in each help
14
+ :title: 単元 #describe what for in each help
14
15
  :cont: #the following lines are appeared.
15
16
  - c-f, move Forwrard, 前or右へ #top ' - ' are necessary for yaml format
16
17
  - フォーマットは自由です.
@@ -18,10 +19,10 @@
18
19
  # start the second item... and so on.
19
20
  :item2:
20
21
  :opts:
21
- :short: "-j"
22
- :long: "--item2"
22
+ :short: -j
23
+ :long: --item2
23
24
  :desc: 単元2(item2)
24
- :title: "\n単元2\n"
25
+ :title: 単元2
25
26
  :cont:
26
27
  - c-f, move Forwrard, 前or右へ
27
28
  - フォーマットは自由です.
@@ -1,3 +1,3 @@
1
1
  module MyHelp
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
data/lib/my_help.rb CHANGED
@@ -38,9 +38,9 @@ module MyHelp
38
38
  opt.version = MyHelp::VERSION
39
39
  puts opt.ver
40
40
  }
41
- opt.on('-l', '--list', '個別(specific)ヘルプのList表示.'){list_helps}
42
- opt.on('-e NAME', '--edit NAME', 'NAME(例:test_help)をEdit編集.'){|file| edit_help(file)}
43
- opt.on('-i NAME', '--init NAME', 'NAME(例:test_help)のtemplateを作成.'){|file| init_help(file)}
41
+ opt.on('-l', '--list', 'list specific helps'){list_helps}
42
+ opt.on('-e NAME', '--edit NAME', 'edit NAME help(eg test_help)'){|file| edit_help(file)}
43
+ opt.on('-i NAME', '--init NAME', 'initialize NAME help(eg test_help).'){|file| init_help(file)}
44
44
  opt.on('-m', '--make', 'make executables for all helps.'){make_help}
45
45
  opt.on('-c', '--clean', 'clean up exe dir.'){clean_exe}
46
46
  opt.on('--install_local','install local after edit helps'){install_local}
@@ -56,12 +56,14 @@ module MyHelp
56
56
  def install_local
57
57
  Dir.chdir(File.expand_path('../..',@source_dir))
58
58
  p pwd_dir = Dir.pwd
59
- # check that the working dir should not the gem installed dir
59
+ # check that the working dir should not the gem installed dir,
60
+ # which destroys itself.
60
61
  inst_dir="USER INSTALLATION DIRECTORY:"
61
62
  status, stdout, stderr = systemu "gem env|grep '#{inst_dir}'"
62
63
  p system_inst_dir = stdout.split(': ')[1].chomp
63
64
  if pwd_dir == system_inst_dir
64
- "download my_help from github, and using bundle for edit helps"
65
+ puts "Download my_help from github, and using bundle for edit helps\n"
66
+ puts "Read README in detail.\n"
65
67
  exit
66
68
  end
67
69
  system "git add -A"
@@ -78,9 +80,7 @@ module MyHelp
78
80
  Dir.entries(@target_dir)[2..-1].each{|file|
79
81
  next if file[0]=='#' or file[-1]=='~'
80
82
  exe_cont="#!/usr/bin/env ruby\nrequire 'specific_help'\n"
81
- # exe_cont << 'target_dir = File.expand_path("../../lib/daddygongon", __FILE__)'+"\n"
82
- exe_cont << "target_dir = File.join(ENV['HOME'],'.my_help')"+"\n"
83
- exe_cont << "help_file = File.join(target_dir,'#{file}')\n"
83
+ exe_cont << "help_file = File.join(ENV['HOME'],'.my_help','#{file}')\n"
84
84
  exe_cont << "SpecificHelp::Command.run(help_file, ARGV)\n"
85
85
  [file, short_name(file)].each{|name|
86
86
  p target=File.join('exe',name)
@@ -88,11 +88,14 @@ module MyHelp
88
88
  FileUtils.chmod('a+x', target, :verbose => true)
89
89
  }
90
90
  }
91
+ install_local
91
92
  end
92
93
 
93
94
  def clean_exe
94
95
  Dir.entries(@target_dir)[2..-1].each{|file|
95
96
  next if file[0]=='#' or file[-1]=='~'
97
+ next if file.include?('emacs_help') or file.include?('e_h')
98
+ next if file.include?('template_help') or file.include?('t_h')
96
99
  [file, short_name(file)].each{|name|
97
100
  p target=File.join('exe',name)
98
101
  FileUtils::Verbose.rm(target)
@@ -106,7 +109,7 @@ module MyHelp
106
109
  puts "File exists. rm it first to initialize it."
107
110
  exit
108
111
  end
109
- p template = File.join(File.dirname(@source_dir),'my_help','template_help')
112
+ p template = File.join(@source_dir,'template_help')
110
113
  FileUtils::Verbose.cp(template,target_help)
111
114
  end
112
115
 
@@ -121,7 +124,7 @@ module MyHelp
121
124
  next if file[0]=='#' or file[-1]=='~'
122
125
  file_path=File.join(@target_dir,file)
123
126
  help_cont = YAML.load(File.read(file_path))
124
- print " #{file}\t:#{help_cont[:head][0][0..-1]}"
127
+ print " #{file}\t:#{help_cont[:head][0][0..-1]}\n"
125
128
  }
126
129
  end
127
130
  end
data/lib/specific_help.rb CHANGED
@@ -12,8 +12,11 @@ module SpecificHelp
12
12
  end
13
13
 
14
14
  def initialize(file,argv=[])
15
+ @source_file = file
15
16
  @help_cont = YAML.load(File.read(file))
16
- @help_cont[:head].each{|line| print line }
17
+ @help_cont[:head].each{|line| print line.chomp+"\n" }
18
+ @help_cont[:license].each{|line| print line } if @help_cont[:license] != nil
19
+ print "---\n" #separater
17
20
  @argv = argv
18
21
  end
19
22
 
@@ -25,24 +28,29 @@ module SpecificHelp
25
28
  puts opt.ver
26
29
  }
27
30
  @help_cont.each_pair{|key,val|
28
- next if key==:head
31
+ next if key==:head or key==:license
29
32
  opts = val[:opts]
30
33
  opt.on(opts[:short],opts[:long],opts[:desc]) {disp_from_help_cont(key)}
31
34
  }
35
+ opt.on('--edit','edit help contents'){edit_help}
32
36
  opt.on('--to_hiki','convert to hikidoc format'){to_hiki}
33
37
  end
34
38
  # begin
35
- command_parser.parse!(@argv)
39
+ command_parser.parse!(@argv)
36
40
  # rescue=> eval
37
41
  # p eval
38
42
  # end
39
43
  exit
40
44
  end
41
45
 
46
+ def edit_help
47
+ system("emacs #{@source_file}")
48
+ end
49
+
42
50
  def to_hiki
43
51
  puts '<<<'
44
52
  @help_cont.each_pair{|key,val|
45
- if key==:head
53
+ if key==:head or key==:license
46
54
  disp(val)
47
55
  else
48
56
  items =@help_cont[key]
data/my_help.wiki/Home.md CHANGED
@@ -53,8 +53,9 @@ Usage: my_help [options]
53
53
  -l, --list 個別(specific)ヘルプのList表示.
54
54
  -e, --edit NAME NAME(例:test_help)をEdit編集.
55
55
  -i, --init NAME NAME(例:test_help)のtemplateを作成.
56
- -m, --make make and install:local all helps.
56
+ -m, --make make executables for all helps.
57
57
  -c, --clean clean up exe dir.
58
+ --install_local install local after edit helps
58
59
  ```
59
60
  です.まず,-lでdefaultで入っているリストを見てください.
60
61
 
@@ -66,23 +67,21 @@ Specific help file:
66
67
  emacs_help
67
68
  test_help
68
69
  ```
69
- これで,CUIでemacs_help, e_h, test_help, t_hが用意されています.少し振る舞いに慣れてください.
70
+ これで,CUIでemacs_help, e_h, template_help, t_hが用意されています.少し振る舞いに慣れてください.
70
71
 
71
72
  ## 独自のhelpを作る方法
72
73
  さて,独自のhelpを作る方法です.まずは,
73
74
 
74
75
  ```
75
76
  bob% bundle exec exe/my_help -i new_help
76
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
77
- ["-i", "new_help"]
78
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help"
79
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help"
80
- cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
81
- /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
77
+ "/Users/bob/.my_help/new_help"
78
+ "/Users/bob/Github/my_help/lib/daddygongon/template_help"
79
+ cp /Users/bob/Github/my_help/lib/daddygongon/template_help /Users/bob/.my_help/new_help
82
80
  ```
83
81
  で,new_helpというtemplateが用意されます.-e new_helpで編集してください.そのあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
84
82
 
85
83
  ## 独自helpを使えるように
84
+ (これは,-mで自動的に行われるように修正されています)
86
85
  最後,my_helpのdirectoryで
87
86
  ```
88
87
  git add -A
@@ -204,3 +203,60 @@ Usage: eh [options]
204
203
  -q, --quit 終了操作
205
204
  ```
206
205
  としたほうがいいと提案する.アンケートを実施してみてほしい.
206
+
207
+ # uninstall
208
+ my_help -mでinstallするとEXECUTABLE DIRECTORYにhelpのexec filesが自動で追加される.
209
+ ~/.my_helpを修正したときには,あらかじめ
210
+ ```
211
+ gem unistall my_help
212
+ ```
213
+ でそれらをuninstallしておくと良い.
214
+
215
+ ```
216
+ bob% gem uninstall my_help
217
+
218
+ Select gem to uninstall:
219
+ 1. my_help-0.1.0
220
+ 2. my_help-0.2.0
221
+ 3. my_help-0.2.1
222
+ 4. my_help-0.2.2
223
+ 5. my_help-0.2.3
224
+ 6. my_help-0.3.0
225
+ 7. my_help-0.3.1
226
+ 8. my_help-0.3.2
227
+ 9. All versions
228
+ > 9
229
+ Successfully uninstalled my_help-0.1.0
230
+ Successfully uninstalled my_help-0.2.0
231
+ Remove executables:
232
+ #my_help#
233
+
234
+ in addition to the gem? [Yn] Y
235
+ Removing #my_help#
236
+ Successfully uninstalled my_help-0.2.1
237
+ Successfully uninstalled my_help-0.2.2
238
+ Successfully uninstalled my_help-0.2.3
239
+ Successfully uninstalled my_help-0.3.0
240
+ Remove executables:
241
+ test_help
242
+
243
+ in addition to the gem? [Yn] Y
244
+ Removing test_help
245
+ Successfully uninstalled my_help-0.3.1
246
+ Remove executables:
247
+ e_h, emacs_help, m_h, member_help, my_help, n_h, new_help, r_h, ruby_help, t_h, template_help
248
+
249
+ in addition to the gem? [Yn] Y
250
+ Removing e_h
251
+ Removing emacs_help
252
+ Removing m_h
253
+ Removing member_help
254
+ Removing my_help
255
+ Removing n_h
256
+ Removing new_help
257
+ Removing r_h
258
+ Removing ruby_help
259
+ Removing t_h
260
+ Removing template_help
261
+ Successfully uninstalled my_help-0.3.2
262
+ ```
@@ -53,10 +53,12 @@ Supplied commands are
53
53
  bob% bundle exec exe/my_help
54
54
  Usage: my_help [options]
55
55
  -v, --version show program Version.
56
- -l, --list 個別(specific)ヘルプのList表示.
57
- -e, --edit NAME NAME(例:test_help)をEdit編集.
58
- -i, --init NAME NAME(例:test_help)templateを作成.
56
+ -l, --list list specific help.
57
+ -e, --edit NAME edit NAME(cf test_help).
58
+ -i, --init NAME initialize NAME(cf, test_help) template.
59
59
  -m, --make make and install:local all helps.
60
+ -c, --clean clean up exe dir.
61
+ --install_local install local after edit helps
60
62
  ```
61
63
 
62
64
  At first, see the list of supplied helps by the option of -l.
@@ -85,11 +87,12 @@ bob% bundle exec exe/my_help -i new_help
85
87
  cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
86
88
  /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
87
89
  ```
88
- it makes get ready the template of new_help in daddygongon dir.
90
+ it makes get ready the template of new_help in ~/.my_help directory.
89
91
  Edit it by -e new_help.
90
- Then -m make new_help and n_h in exe directory.
92
+ Then -m makes new_help and n_h in exe directory.
93
+
94
+ ## Activate own help (which is automatically done by -m)
91
95
 
92
- ## Activate own help
93
96
  For the last step, at the my_help directory, put the commands in as follows:
94
97
 
95
98
  ```
@@ -53,8 +53,9 @@ Usage: my_help [options]
53
53
  -l, --list 個別(specific)ヘルプのList表示.
54
54
  -e, --edit NAME NAME(例:test_help)をEdit編集.
55
55
  -i, --init NAME NAME(例:test_help)のtemplateを作成.
56
- -m, --make make and install:local all helps.
56
+ -m, --make make executables for all helps.
57
57
  -c, --clean clean up exe dir.
58
+ --install_local install local after edit helps
58
59
  ```
59
60
  です.まず,-lでdefaultで入っているリストを見てください.
60
61
 
@@ -66,23 +67,21 @@ Specific help file:
66
67
  emacs_help
67
68
  test_help
68
69
  ```
69
- これで,CUIでemacs_help, e_h, test_help, t_hが用意されています.少し振る舞いに慣れてください.
70
+ これで,CUIでemacs_help, e_h, template_help, t_hが用意されています.少し振る舞いに慣れてください.
70
71
 
71
72
  ## 独自のhelpを作る方法
72
73
  さて,独自のhelpを作る方法です.まずは,
73
74
 
74
75
  ```
75
76
  bob% bundle exec exe/my_help -i new_help
76
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon"
77
- ["-i", "new_help"]
78
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help"
79
- "/usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help"
80
- cp /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/my_help/template_help
81
- /usr/local/lib/ruby/gems/2.2.0/gems/my_help-0.2.1/lib/daddygongon/new_help
77
+ "/Users/bob/.my_help/new_help"
78
+ "/Users/bob/Github/my_help/lib/daddygongon/template_help"
79
+ cp /Users/bob/Github/my_help/lib/daddygongon/template_help /Users/bob/.my_help/new_help
82
80
  ```
83
81
  で,new_helpというtemplateが用意されます.-e new_helpで編集してください.そのあと,-mすると自動でnew_helpがexeディレクトリーに追加されます.
84
82
 
85
83
  ## 独自helpを使えるように
84
+ (これは,-mで自動的に行われるように修正されています)
86
85
  最後,my_helpのdirectoryで
87
86
  ```
88
87
  git add -A
@@ -204,3 +203,60 @@ Usage: eh [options]
204
203
  -q, --quit 終了操作
205
204
  ```
206
205
  としたほうがいいと提案する.アンケートを実施してみてほしい.
206
+
207
+ # uninstall
208
+ my_help -mでinstallするとEXECUTABLE DIRECTORYにhelpのexec filesが自動で追加される.
209
+ ~/.my_helpを修正したときには,あらかじめ
210
+ ```
211
+ gem unistall my_help
212
+ ```
213
+ でそれらをuninstallしておくと良い.
214
+
215
+ ```
216
+ bob% gem uninstall my_help
217
+
218
+ Select gem to uninstall:
219
+ 1. my_help-0.1.0
220
+ 2. my_help-0.2.0
221
+ 3. my_help-0.2.1
222
+ 4. my_help-0.2.2
223
+ 5. my_help-0.2.3
224
+ 6. my_help-0.3.0
225
+ 7. my_help-0.3.1
226
+ 8. my_help-0.3.2
227
+ 9. All versions
228
+ > 9
229
+ Successfully uninstalled my_help-0.1.0
230
+ Successfully uninstalled my_help-0.2.0
231
+ Remove executables:
232
+ #my_help#
233
+
234
+ in addition to the gem? [Yn] Y
235
+ Removing #my_help#
236
+ Successfully uninstalled my_help-0.2.1
237
+ Successfully uninstalled my_help-0.2.2
238
+ Successfully uninstalled my_help-0.2.3
239
+ Successfully uninstalled my_help-0.3.0
240
+ Remove executables:
241
+ test_help
242
+
243
+ in addition to the gem? [Yn] Y
244
+ Removing test_help
245
+ Successfully uninstalled my_help-0.3.1
246
+ Remove executables:
247
+ e_h, emacs_help, m_h, member_help, my_help, n_h, new_help, r_h, ruby_help, t_h, template_help
248
+
249
+ in addition to the gem? [Yn] Y
250
+ Removing e_h
251
+ Removing emacs_help
252
+ Removing m_h
253
+ Removing member_help
254
+ Removing my_help
255
+ Removing n_h
256
+ Removing new_help
257
+ Removing r_h
258
+ Removing ruby_help
259
+ Removing t_h
260
+ Removing template_help
261
+ Successfully uninstalled my_help-0.3.2
262
+ ```
@@ -1,10 +1,11 @@
1
1
  ```
2
+ emacsのキーバインド
2
3
 
3
4
  特殊キー操作
4
5
  c-f, controlキーを押しながら 'f'
5
6
  M-f, escキーを押した後一度離して'f'
6
- 操作の中断c-g, 操作の取り消し(Undo) c-x u
7
-
7
+ 操作の中断c-g, 操作の取り消し(Undo) c-x u
8
+ cc by Shigeto R. Nishitani, 2016
8
9
  カーソル移動cursor
9
10
  c-f, move Forwrard, 前or右へ
10
11
  c-b, move Backwrard, 後or左へ
@@ -12,20 +13,17 @@
12
13
  c-e, go End of line, 行末へ
13
14
  c-n, move Next line, 次行へ
14
15
  c-p, move Previous line, 前行へ
15
-
16
16
  ページ移動page
17
17
  c-v, move Vertical, 次のページへ
18
18
  M-v, move reversive Vertical,前のページへ
19
19
  c-l, centerise Line, 現在行を中心に
20
20
  M-<, move Top of file, ファイルの先頭へ
21
21
  M->, move Bottom of file, ファイルの最後尾へ
22
-
23
22
  ファイル操作file
24
23
  c-x c-f, Find file, ファイルを開く
25
24
  c-x c-s, Save file, ファイルを保存
26
25
  c-x c-w, Write file NAME, ファイルを別名で書き込む
27
-
28
- 編集操作editor
26
+ 編集操作edit
29
27
  c-d, Delete char, 一字削除
30
28
  c-k, Kill line, 一行抹消,カット
31
29
  c-y, Yank, ペースト
@@ -34,17 +32,14 @@
34
32
  c-s, forward incremental Search WORD, 前へWORDを検索
35
33
  c-r, Reverse incremental search WORD, 後へWORDを検索
36
34
  M-x query-replace WORD1 <ret> WORD2:対話的置換(y or nで可否選択)
37
-
38
35
  ウィンドウ操作window
39
36
  c-x 2, 2 windows, 二つに分割
40
37
  c-x 1, 1 windows, 一つに戻す
41
38
  c-x 3, 3rd window sep,縦線分割
42
39
  c-x o, Other windows, 次の画面へ移動
43
-
44
40
  バッファー操作buffer(すでにopenしてemacsにバッファーされたfile)
45
41
  c-x b, show Buffer, バッファのリスト
46
42
  c-x c-b, next Buffer, 次のバッファへ移動
47
-
48
43
  終了操作quit
49
44
  c-x c-c, Quit emacs, ファイルを保存して終了
50
45
  c-z, suspend emacs, 一時停止,fgで復活
@@ -1,13 +1,16 @@
1
1
  # template_helpの出力結果
2
2
 
3
3
  ```
4
+ bob% bundle exec exe/template_help --to_hiki
5
+ ヘルプのサンプル雛形.
6
+ headに常に表示される内容を記述.
7
+ ---
8
+ <<<
4
9
  ヘルプのサンプル雛形.
5
- headに常に表示される内容を記述.
6
-
10
+ headに常に表示される内容を記述.
7
11
  単元
8
12
  c-f, move Forwrard, 前or右へ
9
13
  フォーマットは自由です.
10
-
11
14
  単元2
12
15
  c-f, move Forwrard, 前or右へ
13
16
  フォーマットは自由です.
@@ -16,20 +19,21 @@
16
19
  # template_helpの中身
17
20
  helpの実態は~/.my_helpに保存されたYAML形式のfileです.書き方はコメントを参照ください.
18
21
 
19
- ```yaml
22
+ ```ruby
20
23
  ---
21
24
  #start header, which appears every time.
22
25
  :head: #never change
23
- - "ヘルプのサンプル雛形.\n" #describe the contents breafly.
24
- - " headに常に表示される内容を記述.\n" #head '- ' is necessary
25
-
26
+ - ヘルプのサンプル雛形 #describe the contents breafly.
27
+ - " headに常に表示される内容を記述" #head '- ' is necessary
28
+ :license: #never change
29
+ - " cc by Shigeto R. Nishitani, 2016" #show licence
26
30
  # start the first item
27
31
  :item: #change snake word
28
32
  :opts: #never change
29
- :short: "-i" #change short option
30
- :long: "--item" #change long option
33
+ :short: -i #change short option
34
+ :long: --item #change long option
31
35
  :desc: 単元(item) #describe what for in help list
32
- :title: "\n単元\n" #describe what for in each help
36
+ :title: 単元 #describe what for in each help
33
37
  :cont: #the following lines are appeared.
34
38
  - c-f, move Forwrard, 前or右へ #top ' - ' are necessary for yaml format
35
39
  - フォーマットは自由です.
@@ -37,10 +41,10 @@ helpの実態は~/.my_helpに保存されたYAML形式のfileです.書き方
37
41
  # start the second item... and so on.
38
42
  :item2:
39
43
  :opts:
40
- :short: "-j"
41
- :long: "--item2"
44
+ :short: -j
45
+ :long: --item2
42
46
  :desc: 単元2(item2)
43
- :title: "\n単元2\n"
47
+ :title: 単元2
44
48
  :cont:
45
49
  - c-f, move Forwrard, 前or右へ
46
50
  - フォーマットは自由です.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_help
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shigeto R. Nishitani
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-07 00:00:00.000000000 Z
11
+ date: 2016-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,15 +126,8 @@ description: Emulating CUI(CLI) help, an user makes and displays his own helps.
126
126
  email:
127
127
  - shigeto_nishitani@me.com
128
128
  executables:
129
- - e_h
130
129
  - emacs_help
131
- - m_h
132
- - member_help
133
130
  - my_help
134
- - r_h
135
- - ruby_help
136
- - t_h
137
- - test_help
138
131
  extensions: []
139
132
  extra_rdoc_files: []
140
133
  files:
@@ -149,23 +142,16 @@ files:
149
142
  - Rakefile
150
143
  - bin/console
151
144
  - bin/setup
152
- - exe/e_h
153
145
  - exe/emacs_help
154
- - exe/m_h
155
- - exe/member_help
156
146
  - exe/my_help
157
- - exe/r_h
158
- - exe/ruby_help
159
- - exe/t_h
160
- - exe/test_help
161
147
  - hikis/README_en.hiki
162
148
  - hikis/README_ja.hiki
163
149
  - hikis/emacs_help.hiki
164
- - hikis/test_help.hiki
150
+ - hikis/template_help.hiki
165
151
  - latexes/handout_pre.tex
166
152
  - lib/daddygongon/emacs_help
153
+ - lib/daddygongon/template_help
167
154
  - lib/my_help.rb
168
- - lib/my_help/template_help
169
155
  - lib/my_help/version.rb
170
156
  - lib/specific_help.rb
171
157
  - my_help.gemspec
@@ -173,7 +159,7 @@ files:
173
159
  - my_help.wiki/README_en.md
174
160
  - my_help.wiki/README_ja.md
175
161
  - my_help.wiki/emacs_help.md
176
- - my_help.wiki/test_help.md
162
+ - my_help.wiki/template_help.md
177
163
  homepage: https://github.com/daddygongon/my_help
178
164
  licenses:
179
165
  - MIT
data/exe/e_h DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'emacs_help')
5
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/m_h DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'member_help')
5
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/member_help DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'member_help')
5
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/r_h DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'ruby_help')
5
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/ruby_help DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'ruby_help')
5
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/t_h DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'test_help')
5
- SpecificHelp::Command.run(help_file, ARGV)
data/exe/test_help DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'specific_help'
3
- target_dir = File.join(ENV['HOME'],'.my_help')
4
- help_file = File.join(target_dir,'test_help')
5
- SpecificHelp::Command.run(help_file, ARGV)