lib/synvert/cli.rb in synvert-1.5.0 vs lib/synvert/cli.rb in synvert-1.5.1

- old
+ new

@@ -38,17 +38,17 @@ when 'show' Command.show_rewriter(@options[:snippet_name]) when 'sync' Command.sync_snippets when 'generate' - Comamnd.generate_snippet(@options[:snippet_name]) + Command.generate_snippet(@options[:snippet_name]) when 'execute' Command.read_helpers rewriter = eval_snippet_name_by_input(STDIN.read) if @options[:execute_command] == 'test' - Comamnd.test_snippet(rewriter) + Command.test_snippet(rewriter) else - Comamnd.run_snippet(rewriter, @options[:format]) + Command.run_snippet(rewriter, @options[:format]) end when 'test' Command.read_helpers rewriter = Synvert::Core::Utils.eval_snippet(@options[:snippet_name]) Command.test_snippet(rewriter)