bin/ar2gostruct in ar2gostruct-0.1.1 vs bin/ar2gostruct in ar2gostruct-0.2.0
- old
+ new
@@ -10,9 +10,13 @@
opt.on("-v", "--version",
"Show the current version of this gem") do
puts "ar2gostruct v#{Ar2gostruct.version}"; exit
end
+ opt.on("--association", "Enable association") do
+ ENV["association"] = "true"
+ end
+
opt.on("--orm orm", "Specify ORM. Currently supports only qbs") do |orm|
ENV["orm"] = orm.to_s
end
opt.on("--plural", "Pluralize struct name") do
\ No newline at end of file