Add help text for the imports subcommand.
Closes GH-182
This commit is contained in:
parent
45ca5eb147
commit
37db7f3b8c
@ -16,6 +16,12 @@ module Compass
|
|||||||
def description(command)
|
def description(command)
|
||||||
"Emit an imports suitable for passing to the sass command-line."
|
"Emit an imports suitable for passing to the sass command-line."
|
||||||
end
|
end
|
||||||
|
def usage
|
||||||
|
"Usage: compass imports\n\n" +
|
||||||
|
"Prints out the imports known to compass.\n"+
|
||||||
|
"Useful for passing imports to the sass command line:\n" +
|
||||||
|
" sass -r compass `compass imports` a_file_using_compass.sass"
|
||||||
|
end
|
||||||
def parse!(arguments)
|
def parse!(arguments)
|
||||||
if arguments.join("").strip.size > 0
|
if arguments.join("").strip.size > 0
|
||||||
raise OptionParser::ParseError, "This command takes no options or arguments."
|
raise OptionParser::ParseError, "This command takes no options or arguments."
|
||||||
|
Loading…
Reference in New Issue
Block a user