Class: VCLog::CLI::Formats
- Defined in:
- lib/vclog/cli/formats.rb
Overview
Command to display a list of available formats.
Instance Attribute Summary
Attributes inherited from Abstract
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Abstract
inherited, #initialize, #options, #repo, run, #run
Constructor Details
This class inherits a constructor from VCLog::CLI::Abstract
Class Method Details
.terms ⇒ Object
10 11 12 |
# File 'lib/vclog/cli/formats.rb', line 10 def self.terms ['formats', 'templates'] end |
Instance Method Details
#execute ⇒ Object
22 23 24 |
# File 'lib/vclog/cli/formats.rb', line 22 def execute puts " ansi gnu rdoc markdown xml html atom rss json yaml" end |
#parser ⇒ Object
15 16 17 18 19 |
# File 'lib/vclog/cli/formats.rb', line 15 def parser super do |opt| opt. = "Usage: vclog-formats" end end |