Sha256: e66201e81bbabd82bf0c64946e63fa9d4426fba94d289de751644a2f370bf073

Contents?: true

Size: 376 Bytes

Versions: 27

Compression:

Stored size: 376 Bytes

Contents

module Roger
  # Abstract base class for Roger commands
  class Cli::Command < Thor::Group
    def self.exit_on_failure?
      true
    end

    def initialize_project
      @project = Cli::Base.project
    end

    protected

    def project_banner(project)
      puts "  Html: \"#{project.html_path}\""
      puts "  Partials: \"#{project.partial_path}\""
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
roger-1.4.0 lib/roger/cli/command.rb
roger-1.3.4 lib/roger/cli/command.rb
roger-1.3.3 lib/roger/cli/command.rb
roger-1.3.2 lib/roger/cli/command.rb
roger-1.3.0 lib/roger/cli/command.rb
roger-1.2.2 lib/roger/cli/command.rb
roger-1.2.1 lib/roger/cli/command.rb