lib/branch/name/cli.rb in branch-name-2.2.0 vs lib/branch/name/cli.rb in branch-name-3.0.0

- old
+ new

@@ -10,10 +10,11 @@ require_relative 'loadable' require_relative 'locatable' require_relative 'normalizable' require_relative 'projectable' require_relative 'subcommands/config' +require_relative 'task_defaultable' require_relative 'version' module Branch module Name # @@ -24,14 +25,14 @@ include Exitable include Loadable include Locatable include Normalizable include Projectable + include TaskDefaultable class_option :debug, type: :boolean, default: false class_option :verbose, type: :boolean, default: false - default_task :create map %w[--version -v] => :version desc 'create [OPTIONS] DESCRIPTION [TICKET]', 'Formulate a branch name based on a ticket description and optional ticket' long_desc <<-LONG_DESC