[Command Line] Actually register the subcommand for listing frameworks
This commit is contained in:
parent
cc08b1e5de
commit
83a876fbf7
@ -11,6 +11,7 @@ COMPASS CHANGELOG
|
|||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
* Added a subcommand for emitting sass imports for the sass CLI.
|
* 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)
|
0.10.0 (May 10, 2010)
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -2,6 +2,7 @@ module Compass
|
|||||||
module Commands
|
module Commands
|
||||||
class ListFrameworks < ProjectBase
|
class ListFrameworks < ProjectBase
|
||||||
attr_accessor :options
|
attr_accessor :options
|
||||||
|
register :frameworks
|
||||||
def initialize(working_path, options)
|
def initialize(working_path, options)
|
||||||
super
|
super
|
||||||
end
|
end
|
||||||
@ -11,6 +12,11 @@ module Compass
|
|||||||
puts framework.name unless framework.name =~ /^_/
|
puts framework.name unless framework.name =~ /^_/
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
class << self
|
||||||
|
def description(command)
|
||||||
|
"List the available frameworks"
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user