my_help 0.8.5 → 1.1a
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/'../test'/.my_help/.my_help_conf.yml +2 -0
- data/'../test'/.my_help/emacs.org +50 -0
- data/{lib/templates → '../test'/.my_help}/org.org +0 -0
- data/{lib/templates → '../test'/.my_help}/todo.org +0 -0
- data/.gitignore +9 -1
- data/.my_help/example2.org +9 -0
- data/.rspec +1 -2
- data/.rspec_status +13 -0
- data/.yardoc/checksums +3 -3
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile +10 -5
- data/Gemfile.lock +63 -56
- data/README.org +35 -29
- data/Rakefile +25 -14
- data/doc/MyHelp/Control.html +443 -221
- data/doc/MyHelp.html +7 -7
- data/doc/OrgToYaml.html +12 -10
- data/doc/_index.html +7 -7
- data/doc/class_list.html +2 -2
- data/doc/css/style.css +3 -2
- data/doc/file.README.html +29 -29
- data/doc/file_list.html +2 -2
- data/doc/frames.html +2 -2
- data/doc/index.html +29 -29
- data/doc/js/app.js +14 -3
- data/doc/method_list.html +24 -8
- data/doc/top-level-namespace.html +6 -6
- data/docs/README.html +218 -0
- data/docs/README.org +202 -0
- data/docs/old_docs/16b_nasu.pdf +0 -0
- data/docs/old_docs/17b_oyagi.pdf +0 -0
- data/docs/old_docs/19b_okabata.pdf +0 -0
- data/docs/old_docs/19b_yamaguchi.pdf +0 -0
- data/docs/old_docs/features/delete.feature +7 -0
- data/docs/old_docs/features/edit.feature +7 -0
- data/docs/old_docs/features/list.feature +6 -0
- data/docs/old_docs/features/new.feature +7 -0
- data/docs/old_docs/features/step_definitions/delete_spec.rb +12 -0
- data/docs/old_docs/features/step_definitions/edit_spec.rb +14 -0
- data/docs/old_docs/features/step_definitions/list_spec.rb +10 -0
- data/docs/old_docs/features/step_definitions/new_spec.rb +12 -0
- data/docs/old_docs/features/support/env.rb +3 -0
- data/docs/old_docs/fukumori_symp/18_human_interface_fukumori_workshop.pdf +0 -0
- data/docs/old_docs/fukumori_symp/memo_perp_magician.pdf +0 -0
- data/docs/old_docs/fukumori_symp//347/237/245/350/255/230/343/201/256/347/233/264/344/272/244/350/243/234/347/251/272/351/226/223.png +0 -0
- data/exe/my_help +1 -92
- data/lib/my_help/cli.rb +106 -0
- data/lib/my_help/config.rb +70 -0
- data/lib/my_help/git_cli.rb +40 -0
- data/lib/my_help/init.rb +28 -0
- data/lib/my_help/list.rb +76 -0
- data/lib/my_help/md2hash.rb +54 -0
- data/lib/my_help/modify.rb +33 -0
- data/lib/my_help/org2hash.rb +45 -0
- data/lib/my_help/org2yml.rb +15 -14
- data/lib/my_help/version.rb +3 -1
- data/lib/my_help.rb +23 -7
- data/lib/templates/emacs.org +13 -14
- data/lib/templates/example.md +17 -0
- data/lib/templates/example.org +9 -0
- data/my_help.gemspec +27 -24
- data/tmp.txt +14 -0
- metadata +52 -26
- data/README.html +0 -443
- data/README.rdoc +0 -6
- data/bin/my_help_thor +0 -66
- data/exe/my_help_gli +0 -82
- data/lib/my_help/my_help_controll.rb +0 -220
- data/lib/my_help/tomo_help_controll.rb +0 -0
- data/lib/templates/help_template.org +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db524474830d2c9c8a27e43e6b5360717ee4356ffe55ba70858f1396080561b5
|
4
|
+
data.tar.gz: 3de6dbe0c5b10a7df472dd727a44fceadeae966b2e6b120e5271485a4282f434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da47e72884abef31b214e2bde22c787ceed6671d0efdd4c04ee55caf8de49a4184f98e5103add39bbf99ce21fab9426d5fd85da6db74d1f6c6d75521eac9990f
|
7
|
+
data.tar.gz: 6c0ceca9d19715ba61eb1e27cb1b40d132f44792054dead3e6203fe0d0297504f044e4bafc8f49d4826420feafaeb2481048ba6e7013bd974fd0b558c70c6618
|
@@ -0,0 +1,50 @@
|
|
1
|
+
#+STARTUP: indent nolineimages
|
2
|
+
* head
|
3
|
+
- Emacs key bind
|
4
|
+
-
|
5
|
+
special key command
|
6
|
+
- c-f, While pressing the control key, press 'f'
|
7
|
+
- M-f, After pressing Esc key, press 'f'
|
8
|
+
- c-g, Operation interruption
|
9
|
+
- c-x u, Undo operation(Undo)
|
10
|
+
* license
|
11
|
+
- cc by Natsuko Kawabata, 2017
|
12
|
+
|
13
|
+
* move cursor
|
14
|
+
- c-f, move Forward, Move to forward or right
|
15
|
+
- c-b, move Backward, Move to back or left
|
16
|
+
- c-a, go Ahead of line, Move to the beginning of the line
|
17
|
+
- c-e, go End of line, Move to the end of the line
|
18
|
+
- c-n, move Next line, Move to next line
|
19
|
+
- c-p, move Previous line, Move to previous line
|
20
|
+
* move page
|
21
|
+
- c-v, move Vertical, Move to next page
|
22
|
+
- M-v, move reversive Vertical,Move to previous page
|
23
|
+
- c-l, centerise Line, Move to center on current line
|
24
|
+
- M-<, move Top of file, Move to the top of the file
|
25
|
+
- M->, move Bottom of file, Move to the end of the file
|
26
|
+
* file operation file
|
27
|
+
- c-x c-f, Find file, Find file
|
28
|
+
- c-x c-s, Save file, Save file
|
29
|
+
- c-x c-w, Write file NAME, Write a file with another name
|
30
|
+
* edit operation
|
31
|
+
- c-d, Delete char, Delete a letter
|
32
|
+
- c-k, Kill line, Delete a line,cut
|
33
|
+
- c-y, Yank, Paste
|
34
|
+
- c-w, Kill region, Delete an area ,cut
|
35
|
+
- 領域選択は,先頭 or 最後尾で c-space した後,最後尾 or 先頭へカーソル移動
|
36
|
+
- c-s, forward incremental Search WORD, 前へ WORD を検索
|
37
|
+
- c-r, Reverse incremental search WORD, 後へ WORD を検索
|
38
|
+
- M-x query-replace WORD1 <ret> WORD2:対話的置換(y or n で可否選択)
|
39
|
+
* window operation
|
40
|
+
- c-x 2, 2 windows, Split into two windows 二つに分割
|
41
|
+
- c-x 1, 1 windows, Integrate in a window
|
42
|
+
- c-x 3, 3rd window sep, Split vertically
|
43
|
+
- c-x o, Other windows, Move to the next window
|
44
|
+
* buffer operation
|
45
|
+
- すでに open して Emacs にバッファーされた file
|
46
|
+
- c-x b, show Buffer, Buffer list
|
47
|
+
- c-x c-b, next Buffer, Move to next buffer
|
48
|
+
* quit operation
|
49
|
+
- c-x c-c, Quit Emacs, Save file and quit
|
50
|
+
- c-z, suspend Emacs, Pause,restart with fg
|
File without changes
|
File without changes
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/.rspec_status
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
example_id | status | run_time |
|
2
|
+
--------------------------- | ------ | --------------- |
|
3
|
+
./spec/cli_spec.rb[1:1:1] | passed | 0.31228 seconds |
|
4
|
+
./spec/cli_spec.rb[1:2:1] | passed | 0.31058 seconds |
|
5
|
+
./spec/cli_spec.rb[1:3:1] | passed | 0.31153 seconds |
|
6
|
+
./spec/cli_spec.rb[1:4:1] | passed | 0.2152 seconds |
|
7
|
+
./spec/cli_spec.rb[1:4:2] | passed | 0.21003 seconds |
|
8
|
+
./spec/cli_spec.rb[1:5:1] | passed | 0.31109 seconds |
|
9
|
+
./spec/cli_spec.rb[1:6:1] | passed | 0.31433 seconds |
|
10
|
+
./spec/cli_spec.rb[1:7:1] | passed | 0.21002 seconds |
|
11
|
+
./spec/cli_spec.rb[1:7:2] | passed | 0.21031 seconds |
|
12
|
+
./spec/cli_spec.rb[1:7:3] | passed | 0.21089 seconds |
|
13
|
+
./spec/my_help_spec.rb[1:1] | passed | 0.00078 seconds |
|
data/.yardoc/checksums
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
lib/my_help.rb ced6dd68eb7342dc65e8c8506359cb9a18f37fde
|
2
|
-
lib/my_help/org2yml.rb
|
3
|
-
lib/my_help/version.rb
|
4
|
-
lib/my_help/my_help_controll.rb
|
2
|
+
lib/my_help/org2yml.rb 0246f80ac2e821e5778aff8395dabbd6fbedc1d6
|
3
|
+
lib/my_help/version.rb 8107e9718a720a9369e085771ab7c04ecb5bb8dc
|
4
|
+
lib/my_help/my_help_controll.rb ccf627da5074e19887d379130df76b0b3db845a2
|
5
5
|
lib/my_help/tomo_help_controll.rb da39a3ee5e6b4b0d3255bfef95601890afd80709
|
data/.yardoc/object_types
CHANGED
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/Gemfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
# Specify your gem's dependencies in my_help.gemspec
|
2
6
|
gemspec
|
3
|
-
|
4
|
-
gem
|
5
|
-
|
6
|
-
gem
|
7
|
+
|
8
|
+
gem "rake", "~> 13.0"
|
9
|
+
|
10
|
+
gem "rspec", "~> 3.0"
|
11
|
+
gem 'aruba', '~> 2.1.0'
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
my_help (
|
4
|
+
my_help (1.0c)
|
5
5
|
colorize
|
6
6
|
command_line
|
7
7
|
thor
|
@@ -9,68 +9,75 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
aruba (
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
rspec-expectations (
|
18
|
-
thor (~> 0
|
19
|
-
|
20
|
-
|
21
|
-
childprocess (3.0.0)
|
22
|
-
color_echo (3.1.1)
|
12
|
+
aruba (2.1.0)
|
13
|
+
bundler (>= 1.17, < 3.0)
|
14
|
+
childprocess (>= 2.0, < 5.0)
|
15
|
+
contracts (>= 0.16.0, < 0.18.0)
|
16
|
+
cucumber (>= 4.0, < 9.0)
|
17
|
+
rspec-expectations (~> 3.4)
|
18
|
+
thor (~> 1.0)
|
19
|
+
builder (3.2.4)
|
20
|
+
childprocess (4.1.0)
|
23
21
|
colorize (0.8.1)
|
24
|
-
command_line (
|
25
|
-
contracts (0.16.
|
26
|
-
cucumber (
|
27
|
-
builder (>= 2.
|
28
|
-
cucumber-
|
29
|
-
cucumber-
|
30
|
-
cucumber-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
cucumber-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
gherkin (
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
22
|
+
command_line (2.0.1)
|
23
|
+
contracts (0.16.1)
|
24
|
+
cucumber (8.0.0)
|
25
|
+
builder (~> 3.2, >= 3.2.4)
|
26
|
+
cucumber-ci-environment (~> 9.0, >= 9.0.4)
|
27
|
+
cucumber-core (~> 11.0, >= 11.0.0)
|
28
|
+
cucumber-cucumber-expressions (~> 15.1, >= 15.1.1)
|
29
|
+
cucumber-gherkin (~> 23.0, >= 23.0.1)
|
30
|
+
cucumber-html-formatter (~> 19.1, >= 19.1.0)
|
31
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
32
|
+
diff-lcs (~> 1.5, >= 1.5.0)
|
33
|
+
mime-types (~> 3.4, >= 3.4.1)
|
34
|
+
multi_test (~> 1.1, >= 1.1.0)
|
35
|
+
sys-uname (~> 1.2, >= 1.2.2)
|
36
|
+
cucumber-ci-environment (9.1.0)
|
37
|
+
cucumber-core (11.0.0)
|
38
|
+
cucumber-gherkin (~> 23.0, >= 23.0.1)
|
39
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
40
|
+
cucumber-tag-expressions (~> 4.1, >= 4.1.0)
|
41
|
+
cucumber-cucumber-expressions (15.2.0)
|
42
|
+
cucumber-gherkin (23.0.1)
|
43
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
44
|
+
cucumber-html-formatter (19.2.0)
|
45
|
+
cucumber-messages (~> 18.0, >= 18.0.0)
|
46
|
+
cucumber-messages (18.0.0)
|
47
|
+
cucumber-tag-expressions (4.1.0)
|
48
|
+
diff-lcs (1.5.0)
|
49
|
+
ffi (1.15.5)
|
50
|
+
mime-types (3.4.1)
|
51
|
+
mime-types-data (~> 3.2015)
|
52
|
+
mime-types-data (3.2022.0105)
|
53
|
+
multi_test (1.1.0)
|
54
|
+
rake (13.0.6)
|
55
|
+
rspec (3.12.0)
|
56
|
+
rspec-core (~> 3.12.0)
|
57
|
+
rspec-expectations (~> 3.12.0)
|
58
|
+
rspec-mocks (~> 3.12.0)
|
59
|
+
rspec-core (3.12.0)
|
60
|
+
rspec-support (~> 3.12.0)
|
61
|
+
rspec-expectations (3.12.1)
|
55
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
-
rspec-support (~> 3.
|
57
|
-
rspec-mocks (3.
|
63
|
+
rspec-support (~> 3.12.0)
|
64
|
+
rspec-mocks (3.12.1)
|
58
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
-
rspec-support (~> 3.
|
60
|
-
rspec-support (3.
|
61
|
-
|
66
|
+
rspec-support (~> 3.12.0)
|
67
|
+
rspec-support (3.12.0)
|
68
|
+
sys-uname (1.2.2)
|
69
|
+
ffi (~> 1.1)
|
70
|
+
thor (1.2.1)
|
62
71
|
|
63
72
|
PLATFORMS
|
64
|
-
|
73
|
+
arm64-darwin-20
|
74
|
+
x86_64-linux
|
65
75
|
|
66
76
|
DEPENDENCIES
|
67
|
-
aruba (~>
|
68
|
-
color_echo
|
69
|
-
command_line (~> 1.1.0)
|
70
|
-
ffi (~> 1.9)
|
77
|
+
aruba (~> 2.1.0)
|
71
78
|
my_help!
|
72
|
-
rake
|
73
|
-
rspec
|
79
|
+
rake (~> 13.0)
|
80
|
+
rspec (~> 3.0)
|
74
81
|
|
75
82
|
BUNDLED WITH
|
76
|
-
2.
|
83
|
+
2.3.23
|
data/README.org
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
# my_help
|
2
2
|
#+AUTHOR: Shigeto R. Nishitani
|
3
3
|
#+EMAIL: (concat "nishitani@kwansei.ac.jp")
|
4
4
|
#+LANGUAGE: jp
|
@@ -21,8 +21,10 @@ CUI(CLA)ヘルプのUsage出力を真似て,user独自のhelpを作成・提
|
|
21
21
|
:END:
|
22
22
|
|
23
23
|
CUIやshell, 何かのプログラミング言語などを習得しようとする初心者は,
|
24
|
-
command
|
25
|
-
|
24
|
+
commandや文法を覚えるのに苦労します.
|
25
|
+
少しのkey(とっかかり)があると思い出すんですが,
|
26
|
+
うろ覚えでは間違えて路頭に迷います.
|
27
|
+
問題点は,
|
26
28
|
+ manは基本的に英語
|
27
29
|
+ manualでは重たい
|
28
30
|
+ いつもおなじことをwebで検索して
|
@@ -35,7 +37,7 @@ commandや文法を覚えるのに苦労します.少しのkey(とっかかり
|
|
35
37
|
:CUSTOM_ID: 特徴
|
36
38
|
:END:
|
37
39
|
|
38
|
-
これらをCLA
|
40
|
+
これらをCLAとして提供しようというのが,このgemの目的です.
|
39
41
|
仕様としては,
|
40
42
|
- userが自分にあったmanを作成
|
41
43
|
- 雛形を提供
|
@@ -48,6 +50,7 @@ key(記憶のとっかかり)を提供することが目的です.
|
|
48
50
|
RPGでレベル上げとかアイテムを貯めるようにして,
|
49
51
|
プログラミングでスキルを発展させてください.
|
50
52
|
|
53
|
+
VSCodeやGithub Copilotではcodeの候補を挙げてくれますが,
|
51
54
|
物覚えの悪い作者は,人の名前をitem分けして,こそっと使っています.
|
52
55
|
|
53
56
|
* 使用法
|
@@ -56,7 +59,7 @@ RPGでレベル上げとかアイテムを貯めるようにして,
|
|
56
59
|
:END:
|
57
60
|
** インストール
|
58
61
|
|
59
|
-
:
|
62
|
+
: > gem install my_help
|
60
63
|
です.
|
61
64
|
|
62
65
|
** 簡単な使用法
|
@@ -65,8 +68,8 @@ RPGでレベル上げとかアイテムを貯めるようにして,
|
|
65
68
|
:END:
|
66
69
|
|
67
70
|
まずは,
|
68
|
-
#+
|
69
|
-
my_help
|
71
|
+
#+begin_src bash
|
72
|
+
> my_help
|
70
73
|
Commands:
|
71
74
|
my_help delete HELP # delete HELP
|
72
75
|
my_help edit HELP # edit HELP
|
@@ -76,17 +79,18 @@ Commands:
|
|
76
79
|
my_help set_editor EDITOR_NAME # set editor to EDITOR_NAME
|
77
80
|
my_help setup # set up the test database
|
78
81
|
my_help version # show version
|
79
|
-
#+
|
82
|
+
#+end_src
|
80
83
|
としてください.このlistにNAMEやITEMを加えて行くとわかると思います.
|
81
84
|
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
85
|
+
#+begin_src bash
|
86
|
+
> my_help list
|
87
|
+
> my_help list emacs
|
88
|
+
> my_help list emacs -f
|
89
|
+
> my_help list emacs file
|
90
|
+
#+end_src
|
86
91
|
として動かしてみてください.
|
87
92
|
|
88
|
-
|
89
|
-
#+BEGIN_EXAMPLE
|
93
|
+
#+begin_src bash
|
90
94
|
- emacsのキーバインド
|
91
95
|
-
|
92
96
|
特殊キー操作
|
@@ -107,31 +111,33 @@ Commands:
|
|
107
111
|
, query_replace : query_replace
|
108
112
|
-r, ruby-mode : ruby-mode
|
109
113
|
-d, dired : ファイラとして使う
|
110
|
-
#+
|
114
|
+
#+end_src
|
115
|
+
|
116
|
+
** my_helpがやっていること
|
117
|
+
my_helpの個々のヘルプファイルは'~/.my_help'に置かれています.
|
118
|
+
ヘルプファイルのフォーマットはEmacsのorg-modeです.
|
119
|
+
これをEditorで叩いて編集したり,
|
120
|
+
そこから情報を取り出したりしています.
|
121
|
+
単にファイル操作を集約しているだけなのですが,
|
122
|
+
これが面倒で...
|
123
|
+
|
111
124
|
|
112
125
|
** 独自のhelpを作る方法
|
113
126
|
独自のhelpを作る方法です.まずは,
|
114
127
|
|
115
|
-
: my_help new new_help
|
128
|
+
: $ my_help new new_help
|
116
129
|
|
117
130
|
で,new_helpというtemplateが用意されます.
|
118
|
-
: my_help edit new_help
|
119
|
-
で編集してください.
|
131
|
+
: $ my_help edit new_help
|
132
|
+
で編集してください. Emacs org形式で,格納されています.
|
120
133
|
|
121
|
-
: my_help delete new_help
|
134
|
+
: $ my_help delete new_help
|
122
135
|
|
123
136
|
すると消されます.
|
124
137
|
** editorの変更
|
125
|
-
: my_help set_editor vim
|
138
|
+
: $ my_help set_editor vim
|
126
139
|
でeditorを変更できます.codeとかは確認していますが,
|
127
140
|
それ以外で動いたり,動かなかったりを報告してください.
|
128
141
|
|
129
|
-
|
130
|
-
|
131
|
-
以下は,開発者メモです.
|
132
|
-
testは[[/Users/bob/github/ruby_docs/testing_frameworks/test_unit/README.org]]
|
133
|
-
にあるのに従って書いています.
|
134
|
-
|
135
|
-
「Rubyベストプラクティス」にあるmustを使ったextension
|
136
|
-
を組み込んで,DSLにしている.
|
137
|
-
[[https://github.com/practicingruby/rbp/blob/master/testing/test_unit_extensions.rb]]
|
142
|
+
OS Xで'emacs'とした時にGUI版が立ち上がって嫌だという場合は,
|
143
|
+
'emacs -nw'として下さい.
|
data/Rakefile
CHANGED
@@ -1,21 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require '
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'rake/testtask'
|
4
5
|
|
5
6
|
Rake::TestTask.new(:test) do |t|
|
6
|
-
t.
|
7
|
-
t.libs <<
|
8
|
-
t.
|
7
|
+
t.options = '-v'
|
8
|
+
t.libs << 'test'
|
9
|
+
t.libs << 'lib'
|
10
|
+
t.test_files = FileList['test/**/*_test.rb']
|
9
11
|
end
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
desc "make documents by yard"
|
13
|
+
desc 'make documents by yard'
|
14
14
|
task :yard do
|
15
|
-
|
16
|
-
|
17
|
-
#
|
18
|
-
#
|
19
|
-
|
15
|
+
# api_output_dir = 'doc'
|
16
|
+
YARD::Rake::YardocTask.new do |t|
|
17
|
+
# t.options << '-o#{api_output_dir}' # output dir = doc_api
|
18
|
+
# t.files=['**/*.md']
|
19
|
+
t.options += ['--title', 'my_help']
|
20
|
+
# t.options=['--exclude','lib.rb','--files','**/*.org']
|
21
|
+
# see [[https://github.com/lsegal/yard/issues/66]] for the other options
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
require 'rubocop/rake_task'
|
26
|
+
|
27
|
+
RuboCop::RakeTask.new
|
20
28
|
|
29
|
+
#task default: %i[test rubocop]
|
30
|
+
task :default do
|
31
|
+
system "rake -T"
|
21
32
|
end
|