Class: Fixi::Command::Info
- Inherits:
-
Object
- Object
- Fixi::Command::Info
- Defined in:
- lib/fixi/command/info.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.arghelp ⇒ Object
9 10 11 |
# File 'lib/fixi/command/info.rb', line 9 def self.arghelp "[<dir>]" end |
.details ⇒ Object
13 14 15 |
# File 'lib/fixi/command/info.rb', line 13 def self.details "If no argument is given, the current directory ('.') is assumed." end |
.synopsis ⇒ Object
5 6 7 |
# File 'lib/fixi/command/info.rb', line 5 def self.synopsis "Display a summary of the index" end |
Instance Method Details
#execute(args) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/fixi/command/info.rb', line 17 def execute args opts = Trollop:: args do Fixi::Command:: "info" end Fixi::Index.new(args[0]).describe end |