Sha256: 769bbf72062c4867f4b72c85f8a878a7ffaf4f492c1a0c028d26adb7ce43d369

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

require 'thor'

module Skippy
  class Command < Thor

    # Customize the banner as we don't care for the 'skippy' prefix for each
    # item in the list.
    def self.banner(command, _namespace = nil, subcommand = false)
      command.formatted_usage(self, true, subcommand).to_s
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
skippy-0.4.3.a lib/skippy/command.rb
skippy-0.4.2.a lib/skippy/command.rb
skippy-0.4.1.a lib/skippy/command.rb
skippy-0.4.0.a lib/skippy/command.rb
skippy-0.3.0.a lib/skippy/command.rb