module Clamp::Subcommand::Parsing
Subcommand
parsing methods.
Protected Instance Methods
parse_subcommand()
click to toggle source
# File lib/clamp/subcommand/parsing.rb, line 14 def parse_subcommand return false unless self.class.has_subcommands? extend(Subcommand::Execution) end
Private Instance Methods
default_subcommand_name()
click to toggle source
# File lib/clamp/subcommand/parsing.rb, line 21 def default_subcommand_name self.class.default_subcommand || request_help end