Sha256: 05d926e8d9fabd302b8bc7436e5e12d739a08cf335df34de8b9c46961d67358f

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

require 'thor'
require 'active_support/all'

require 'dugway'
require 'dugway/cli/build'
require 'dugway/cli/create'
require 'dugway/cli/server'
require 'dugway/cli/validate'

module Dugway
  module Cli
    class Base < Thor
      register Create, 'create', 'create', 'Create a new Big Cartel theme'
      register Build, 'build', 'build', 'Build your Big Cartel theme for use'
      register Server, 'server', 'server', 'Run your Big Cartel theme in the browser'
      register Validate, 'validate', 'validate', 'Validate your Big Cartel theme'

      desc 'version', 'Show version of Dugway'
      def version
        say "Dugway #{ Dugway::VERSION }"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dugway-1.0.14 lib/dugway/cli.rb
dugway-1.0.13 lib/dugway/cli.rb
dugway-1.0.12 lib/dugway/cli.rb