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.10.0 lib/roger/cli/command.rb
roger-1.9.1 lib/roger/cli/command.rb
roger-1.9.0 lib/roger/cli/command.rb
roger-1.8.0 lib/roger/cli/command.rb
roger-1.7.2 lib/roger/cli/command.rb
roger-1.7.1 lib/roger/cli/command.rb
roger-1.7.0 lib/roger/cli/command.rb
roger-1.6.4 lib/roger/cli/command.rb
roger-1.6.3 lib/roger/cli/command.rb
roger-1.6.2 lib/roger/cli/command.rb
roger-1.6.1 lib/roger/cli/command.rb
roger-1.6.0 lib/roger/cli/command.rb
roger-1.5.0 lib/roger/cli/command.rb
roger-1.4.6 lib/roger/cli/command.rb
roger-1.4.5 lib/roger/cli/command.rb
roger-1.4.4 lib/roger/cli/command.rb
roger-1.4.3 lib/roger/cli/command.rb
roger-1.4.2 lib/roger/cli/command.rb
roger-1.3.5 lib/roger/cli/command.rb
roger-1.4.1 lib/roger/cli/command.rb