# File lib/drydock.rb, line 469
469:   def default(cmd=nil, with_args=false, &b)
470:     raise "Calling default requires a command name or a block" unless cmd || b
471:     # Creates the command and returns the name or just stores given name
472:     @@default_command = (b) ? command(cmd || :default, &b).cmd : canonize(cmd)
473:     # IDEA: refactor out the argument parser to support different types of CLI
474:     @@default_command_with_args = with_args ? true : false
475:     @@default_command
476:   end