zan_tools 0.1.2 → 0.1.3
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 +4 -4
- data/lib/zan_tools/command.rb +2 -1
- data/lib/zan_tools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f30888bcf97e03de5ef933ab36e5189ca80231aad887508af7f8880f2d1b18c
|
|
4
|
+
data.tar.gz: ef51867f6cf08825753f4bc890540edb4ae2f6ac6518f6561a43d0385c06a8c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45b46f02fe7023a27be295ae0bb85e8e2c388e1c5fc11cdae5990bde1a1c981f1354d8ea8ce4f55ed5f57baccc516af0d848da99c69f9b1c90ba8c2eb30fc448
|
|
7
|
+
data.tar.gz: aeb02f8fa6fc4708477cf2dcfa9b59fac04157c0c6748bf4eaff56ec247de0024ab1d4e78d7895faf28dc1ca6860dd734f1fb54083f2b323f42433ddfe8e9d57
|
data/lib/zan_tools/command.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
require 'optparse'
|
|
2
2
|
require 'zan_tools/spring_generator'
|
|
3
|
+
require 'zan_tools/version'
|
|
3
4
|
|
|
4
5
|
module ZanTools
|
|
5
6
|
class Command
|
|
@@ -13,7 +14,7 @@ module ZanTools
|
|
|
13
14
|
parser = OptionParser.new do |opts|
|
|
14
15
|
opts.banner = "Usage zan_tools COMMAND [options]"
|
|
15
16
|
opts.separator "COMMAND"
|
|
16
|
-
opts.separator "
|
|
17
|
+
opts.separator " g/generate: 根据指定模板生成代码"
|
|
17
18
|
opts.separator "generate options"
|
|
18
19
|
# generate命令参数
|
|
19
20
|
opts.on("-n", "--name NAME", "表名或者类名") do |value|
|
data/lib/zan_tools/version.rb
CHANGED