From 83a876fbf7bb82ccb453960fe013336fc2e88b78 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Thu, 13 May 2010 00:27:38 -0700 Subject: [PATCH] [Command Line] Actually register the subcommand for listing frameworks --- doc-src/content/CHANGELOG.markdown | 1 + lib/compass/commands/list_frameworks.rb | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/doc-src/content/CHANGELOG.markdown b/doc-src/content/CHANGELOG.markdown index ab57d09b..ac616cbb 100644 --- a/doc-src/content/CHANGELOG.markdown +++ b/doc-src/content/CHANGELOG.markdown @@ -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) --------------------- diff --git a/lib/compass/commands/list_frameworks.rb b/lib/compass/commands/list_frameworks.rb index 4639ee5e..72da07d7 100644 --- a/lib/compass/commands/list_frameworks.rb +++ b/lib/compass/commands/list_frameworks.rb @@ -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 \ No newline at end of file