|
@ -128,6 +128,10 @@ class AttributeAfterGenerator |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
File.open(ARGV[0]) do |file| |
|
|
|
|
|
puts FileGenerator.from_yaml(file).to_s |
|
|
|
|
|
|
|
|
if(ARGV.size != 0) |
|
|
|
|
|
File.open(ARGV[0]) do |file| |
|
|
|
|
|
puts FileGenerator.from_yaml(file).to_s |
|
|
|
|
|
end |
|
|
|
|
|
else |
|
|
|
|
|
puts "Andrew code generator\n\tExpects a single YAML file as argument" |
|
|
end |
|
|
end |