lib/ellen/command_builder.rb in ellen-0.0.1 vs lib/ellen/command_builder.rb in ellen-0.0.2
- old
+ new
@@ -18,11 +18,12 @@
options[:generate] ? Commands::Generate : Commands::Run
end
def options
Slop.parse!(arguments, help: true) do
- on("g", "generate", "Generate a new chatterbot with ./ellen/ directory if specified.")
on("a", "adapter=", "Take adapter name.")
+ on("g", "generate", "Generate a new chatterbot with ./ellen/ directory if specified.")
+ on("l", "load=", "Load a ruby file before running.")
end.to_hash
end
memoize :options
end
end