bin/genswift in swift_generator-0.1.2 vs bin/genswift in swift_generator-0.3.0
- old
+ new
@@ -9,10 +9,10 @@
program :name, 'genswift'
program :version, '1.0.0'
program :description, 'Basic CLI interface to the swift_generator gem'
command :generate do |c|
- c.syntax = 'genswift specfile'
+ c.syntax = 'genswift SPECFILE [options]'
c.description = 'Generate Swift files based upon a JSON specification file.'
c.option '--out STRING', String, 'The root of the generated Swift source. Overrides the setting in the spec file.'
c.action do |args, options|
options.default :out => nil