class Morpheus::Cli::CommandArgumentsError
An error for wrong number of arguments could use ::OptionParser::MissingArgument, ::OptionParser::NeedlessArgument maybe return an error code other than 1?
Public Class Methods
new(msg, args=[], optparse=nil, exit_code=nil)
click to toggle source
Calls superclass method
Morpheus::Cli::CommandError::new
# File lib/morpheus/cli/errors.rb, line 31 def initialize(msg, args=[], optparse=nil, exit_code=nil) super(msg, args, optparse, exit_code || 1) end