my-simon 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/simon +10 -10
- data/my-simon.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/bin/simon
CHANGED
@@ -23,11 +23,11 @@ program :version, '0.0.1'
|
|
23
23
|
program :description, 'CLI tool for Simon, a simple MVC boilerplate'
|
24
24
|
|
25
25
|
command :create do |c|
|
26
|
-
c.syntax = 'simon create'
|
27
|
-
c.summary = '
|
28
|
-
c.description = '
|
26
|
+
c.syntax = 'my-simon create, [options]'
|
27
|
+
c.summary = ''
|
28
|
+
c.description = ''
|
29
29
|
c.example 'description', 'command example'
|
30
|
-
c.option '', ''
|
30
|
+
c.option '--some-switch', 'Some switch that does something'
|
31
31
|
c.action do |args, options|
|
32
32
|
# Do something or c.when_called My-simon::Commands::Create,
|
33
33
|
simon_controller.msg ">>> simon's requesting the boilerplate <<<"
|
@@ -35,7 +35,7 @@ command :create do |c|
|
|
35
35
|
Kernel::system(cmd)
|
36
36
|
cmd = "cd ./app/"
|
37
37
|
Kernel::system(cmd)
|
38
|
-
simon_controller.msg "
|
38
|
+
simon_controller.msg "Boilerplate added"
|
39
39
|
|
40
40
|
simon_controller.setup
|
41
41
|
|
@@ -43,11 +43,11 @@ command :create do |c|
|
|
43
43
|
end
|
44
44
|
|
45
45
|
command :add do |c|
|
46
|
-
c.syntax = 'simon add [
|
47
|
-
c.summary = '
|
48
|
-
c.description = '
|
49
|
-
c.example '
|
50
|
-
c.option '', ''
|
46
|
+
c.syntax = 'my-simon add, [options]'
|
47
|
+
c.summary = ''
|
48
|
+
c.description = ''
|
49
|
+
c.example 'description', 'command example'
|
50
|
+
c.option '--some-switch', 'Some switch that does something'
|
51
51
|
c.action do |args, options|
|
52
52
|
# Do something or c.when_called My-simon::Commands::Add,
|
53
53
|
case args[0]
|
data/my-simon.gemspec
CHANGED