module Compass::Commands::StatsOptionsParser

Public Instance Methods

set_options(opts) click to toggle source
# File lib/compass/commands/project_stats.rb, line 7
def set_options(opts)
  opts.banner = %Q{
    Usage: compass stats [path/to/project] [options]

    Description:
      Compile project at the path specified (or the current
      directory if not specified) and then compute statistics
      for the sass and css files in the project.

    Options:
  }.strip.split("\n").map{|l| l.gsub(%r^ {0,10}/,'')}.join("\n")

  super
end