lib/retrospec/cli.rb in retrospec-0.6.2 vs lib/retrospec/cli.rb in retrospec-0.7.0

- old
+ new

@@ -1,7 +1,7 @@ require_relative 'plugins' -require 'trollop' +require 'optimist' require_relative '../retrospec' require_relative 'config' module Retrospec class Cli @@ -11,11 +11,11 @@ cli = Retrospec::Cli.new # get the list of plugins and provide the plugin name as sub commands sub_commands = cli.plugin_map.keys cmd_help = sub_commands.join("\n") - global_opts = Trollop::options do + global_opts = Optimist::options do version "#{Retrospec::VERSION} (c) Corey Osman" banner <<-EOS A framework to automate your development workflow by generating common files and test patterns. Usage: retrospec [global options] plugin [plugin options] @@ -50,10 +50,10 @@ Retrospec::Cli.list_available_plugins else # this is the default action when no command is entered # at a later time we will try and use some magic to guess # what the user wants - Trollop.educate + Optimist.educate end end end def self.list_available_plugins \ No newline at end of file