Sha256: 3b15494f67565742cee4a061cd1f7f554dd6eb7d2d7fad97dcd40e1c1f919324

Contents?: true

Size: 709 Bytes

Versions: 13

Compression:

Stored size: 709 Bytes

Contents

# encoding: utf-8
module Middleman
  module Presentation
    module Cli
      # This class provides an 'presentation init' command for the middleman CLI.
      class Create < Base
        register(CreateTheme, 'theme', 'theme NAME', Middleman::Presentation.t('views.themes.create.title'))
        register(CreatePresentation, 'presentation', 'presentation [DIR]', Middleman::Presentation.t('views.presentations.create.title'))
        register(CreateSlide, 'slide', 'slide [DIR]', Middleman::Presentation.t('views.slides.create.title'))
        register(CreatePlugin, 'plugin', 'plugin NAME', Middleman::Presentation.t('views.plugin.create.title'))

        default_command :slide
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
middleman-presentation-core-0.17.7 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.17.6 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.17.5 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.17.2 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.17.1 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.17.0 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.3 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.2 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.0 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.0.rc2 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.0.rc1 lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.0.beta lib/middleman-presentation-core/cli/create.rb
middleman-presentation-core-0.16.0.alpha lib/middleman-presentation-core/cli/create.rb