class TodoAgent::CLI
Handle the application command line parsing and the dispatch to various command objects
@api public
Constants
- Error
Error
raised by this runner
Public Instance Methods
analyze(path = ".")
click to toggle source
# File lib/todo_agent/cli.rb, line 26 def analyze(path = ".") if options[:help] invoke :help, ["analyze"] else require_relative "commands/analyze" TodoAgent::Commands::Analyze.new(path, options).execute end end
version()
click to toggle source
# File lib/todo_agent/cli.rb, line 15 def version require_relative "version" puts "v#{TodoAgent::VERSION}" end