crafti 0.0.13 → 0.0.14
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/bin/crafti +1 -0
- data/lib/crafti/cli.rb +8 -3
- data/lib/crafti/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a33d6e67d327ef357f8b99f11d19157efa18f3ab
|
|
4
|
+
data.tar.gz: a1eb3c793f936be3c3ad5a40ecaa312d2b4a0c67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 338bc394389de1cfb5936710fb9cd1092a2df8e563b6b3d9836f3260ec4ad9e3ecda3b01aa3cdc0993bf36b558998d9c2887aa68b378dcd642b54272c7f3b95f
|
|
7
|
+
data.tar.gz: 29e8228b39542ee0f2773f0f51c091c5ae23a4d9cdc4548ddbf16a66bf3e0b2841ffec638b80aa81ee53561690604e5c34d8c5ce1a65dad950816d00dbc3348f
|
data/bin/crafti
CHANGED
data/lib/crafti/cli.rb
CHANGED
|
@@ -8,11 +8,16 @@ module Crafti
|
|
|
8
8
|
options.event = args.reverse.pop
|
|
9
9
|
|
|
10
10
|
opt_parser = OptionParser.new do |opts|
|
|
11
|
-
opts.banner =
|
|
11
|
+
opts.banner = <<-TEXT
|
|
12
|
+
|
|
13
|
+
*** Crafti - Application Generation Simplified ***
|
|
14
|
+
|
|
15
|
+
Usage: crafti generate -m ~/path/to/template.rb
|
|
16
|
+
TEXT
|
|
12
17
|
opts.separator ""
|
|
13
18
|
|
|
14
|
-
opts.on("-
|
|
15
|
-
options.template_path =
|
|
19
|
+
opts.on("-t", "--template PATH", "Path to the application template") do |path|
|
|
20
|
+
options.template_path = path
|
|
16
21
|
end
|
|
17
22
|
|
|
18
23
|
opts.on_tail("-h", "--help", "Help message") do
|
data/lib/crafti/version.rb
CHANGED