Sha256: e5d590c74f893a4526c47abd173fbe6f85915128eec45d1dc5a21fa46d81654f

Contents?: true

Size: 465 Bytes

Versions: 4

Compression:

Stored size: 465 Bytes

Contents

# encoding: utf-8
module Middleman
  module Presentation
    module Cli
      # This class provides an 'presentation init' command for the middleman CLI.
      class Create < Thor
        register(CreateTheme, 'theme', 'theme NAME', 'Create a new theme named NAMED')
        register(CreatePresentation, 'presentation', 'presentation [DIR]', 'Initialize a new presentation in DIR (default: $PWD)')

        default_command :presentation
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
middleman-presentation-0.15.8 lib/middleman-presentation/cli/create.rb
middleman-presentation-0.15.7 lib/middleman-presentation/cli/create.rb
middleman-presentation-0.15.6 lib/middleman-presentation/cli/create.rb
middleman-presentation-0.15.5 lib/middleman-presentation/cli/create.rb