Sha256: 5571b169add33939640604321051d6305a5eaea4ee104080ddced6beea8d46fc

Contents?: true

Size: 408 Bytes

Versions: 8

Compression:

Stored size: 408 Bytes

Contents

require 'thor'

module Shim
  class CLI < Thor
    include Thor::Actions
    
    check_unknown_options!

    desc "install [DIRECTORY]", "Creates a shim directory in your app and initializes a basic site."
    def install
      Shim.install!
    end

    desc "watch", "Watches the app/shim directory for changes and automatically re-compiles as necessary"
    def watch
      Shim.watch!
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shim-0.1.5 lib/shim/cli.rb
shim-0.1.4 lib/shim/cli.rb
shim-0.1.2 lib/shim/cli.rb
shim-0.1.1 lib/shim/cli.rb
shim-0.1.0 lib/shim/cli.rb
shim-0.0.3 lib/shim/cli.rb
shim-0.0.2 lib/shim/cli.rb
shim-0.0.1 lib/shim/cli.rb