Sha256: f245667c8a1967652704614b43784c48be665b40bc92ad0f2626be06c12662d5

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

# encoding: utf-8
module Middleman
  module Presentation
    module Cli
      # This class provides an 'presentation' command for the middleman CLI.
      class Presentation < Thor
        include Thor::Actions

        def self.check_unknown_options?(*)
          false
        end

        namespace :presentation

        desc 'presentation ', 'Initialize a new presentation'
        def presentation(*)
          warn('The use of this command is deprecated. Please use `middleman-presentation create presentation` instead.')
          exit 1
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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