Sha256: 34e11163b26d7144f3c572495d3f5d4659660b90cbdc2dc9a17194e0ddaae4e8

Contents?: true

Size: 257 Bytes

Versions: 26

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

module Branch
  module Name
    # Forces the default Thor task to be :help
    module TaskDefaultable
      class << self
        def included(base)
          base.default_command :help
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
branch-name-4.0.3 lib/branch/name/task_defaultable.rb
branch-name-4.0.2 lib/branch/name/task_defaultable.rb
branch-name-4.0.1 lib/branch/name/task_defaultable.rb
branch-name-4.0.0 lib/branch/name/task_defaultable.rb
branch-name-3.10.10 lib/branch/name/task_defaultable.rb
branch-name-3.10.9 lib/branch/name/task_defaultable.rb
branch-name-3.10.8 lib/branch/name/task_defaultable.rb
branch-name-3.10.7 lib/branch/name/task_defaultable.rb
branch-name-3.10.6 lib/branch/name/task_defaultable.rb
branch-name-3.10.5 lib/branch/name/task_defaultable.rb
branch-name-3.10.4 lib/branch/name/task_defaultable.rb
branch-name-3.10.3 lib/branch/name/task_defaultable.rb
branch-name-3.10.2 lib/branch/name/task_defaultable.rb
branch-name-3.10.1 lib/branch/name/task_defaultable.rb
branch-name-3.10.0 lib/branch/name/task_defaultable.rb
branch-name-3.9.0 lib/branch/name/task_defaultable.rb
branch-name-3.8.0 lib/branch/name/task_defaultable.rb
branch-name-3.7.0 lib/branch/name/task_defaultable.rb
branch-name-3.6.0 lib/branch/name/task_defaultable.rb
branch-name-3.5.1 lib/branch/name/task_defaultable.rb