Sha256: 205ed92993283a4139837ced41e426fe3f4b6c2d9b5376dfe0216839ec5de2d4

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

require 'colored2'
require 'thor'

module YkCommand
  class CLI < Thor
    include Thor::Actions
    desc 'hello world', 'hello a word'
    method_option :name, aliases: '-n'
    def hello_world(name)
      say "hello world #{name}", :yellow
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yk_command-0.1.0 lib/yk_command/commands.rb