lib/clamp/subcommand/execution.rb in clamp-1.2.1 vs lib/clamp/subcommand/execution.rb in clamp-1.3.0

- old
+ new

@@ -1,8 +1,15 @@ +# frozen_string_literal: true + module Clamp module Subcommand + # Support for subcommand execution. + # + # This module is mixed into command instances that have subcommands, overriding + # default behaviour in {Clamp::Command}. + # module Execution # override default Command behaviour def execute @@ -30,9 +37,13 @@ def find_subcommand_class(name) subcommand_def = self.class.find_subcommand(name) return subcommand_def.subcommand_class if subcommand_def subcommand_missing(name) + end + + def verify_required_options_are_set + # not required end end end