Sha256: 574fc0c51108f5cdc9130191c4615978b8823043f44b59783a257795fe409436

Contents?: true

Size: 368 Bytes

Versions: 20

Compression:

Stored size: 368 Bytes

Contents

module Skellington
  class CLI < Thor
    desc 'version', 'Print the version'
    def version
      puts "skellington version #{VERSION}"
    end
    map %w(-v --version) => :version

    desc 'generate some_path', 'Generate a skeleton Sinatra app named SomePath at some_path'
    def generate wormname
      @g = Generator.new wormname
      @g.run
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
skellington-0.4.9 lib/skellington/cli.rb
skellington-0.4.8 lib/skellington/cli.rb
skellington-0.4.6 lib/skellington/cli.rb
skellington-0.4.5 lib/skellington/cli.rb
skellington-0.4.4 lib/skellington/cli.rb
skellington-0.4.3 lib/skellington/cli.rb
skellington-0.4.2 lib/skellington/cli.rb
skellington-0.4.1 lib/skellington/cli.rb
skellington-0.4.0 lib/skellington/cli.rb
skellington-0.3.6 lib/skellington/cli.rb
skellington-0.3.5 lib/skellington/cli.rb
skellington-0.3.4 lib/skellington/cli.rb
skellington-0.3.3 lib/skellington/cli.rb
skellington-0.3.2 lib/skellington/cli.rb
skellington-0.3.1 lib/skellington/cli.rb
skellington-0.3.0 lib/skellington/cli.rb
skellington-0.2.2 lib/skellington/cli.rb
skellington-0.2.1 lib/skellington/cli.rb
skellington-0.2.0 lib/skellington/cli.rb
skellington-0.1.4 lib/skellington/cli.rb