Sha256: 5d0b3ad6c2d30c17458a2be6945dc383ba170d7f99b6d31a30b1a103fb28a060
Contents?: true
Size: 983 Bytes
Versions: 1
Compression:
Stored size: 983 Bytes
Contents
require 'thor' require 'sasslint' module SassLint class CLI < Thor desc "check", "runs the Sass linter" # Provide CSSLint global CLI Options method_option :format, desc: "Indicate which format to use for output." method_option :listrules, desc: "Outputs all of the rules available." method_option :quiet, desc: "Only output when errors are present." method_option :errors, desc: "Indicate which rules to include as errors." method_option :warnings, desc: "Indicate which rules to include as warnings." method_option :ignore, desc: "Indicate which rules to ignore completely." method_option :exclude, desc: "Indicate which files/directories to exclude from being linted." method_option :version, desc: "Outputs the current version number." def check puts "TODO: linting that shit" end desc "import", "imports CSSLint rules" def import puts "Importing CSSLint rules" RuleImporter.import end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sasslint-0.0.1 | lib/sasslint/cli.rb |