[Command Line] Actually register the subcommand for listing frameworks

This commit is contained in:
Chris Eppstein 2010-05-13 00:27:38 -07:00
parent cc08b1e5de
commit 83a876fbf7
2 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,7 @@ COMPASS CHANGELOG
---------------------
* Added a subcommand for emitting sass imports for the sass CLI.
* Added a subcommand for listing the available frameworks.
0.10.0 (May 10, 2010)
---------------------

View File

@ -2,6 +2,7 @@ module Compass
module Commands
class ListFrameworks < ProjectBase
attr_accessor :options
register :frameworks
def initialize(working_path, options)
super
end
@ -11,6 +12,11 @@ module Compass
puts framework.name unless framework.name =~ /^_/
end
end
class << self
def description(command)
"List the available frameworks"
end
end
end
end
end