Class: YARD::CLI::Command Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/yard/cli/command.rb

Overview

This class is abstract.

Abstract base class for CLI utilities. Provides some helper methods for the option parser

Since:

  • 0.6.0

Direct Known Subclasses

Config, Diff, Gems, Help, List, MarkupTypes, Server, YRI, YardoptsCommand

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.run(*args) ⇒ Object

Helper method to run the utility on an instance.

See Also:

  • #run

Since:

  • 0.6.0



14
# File 'lib/yard/cli/command.rb', line 14

def self.run(*args) new.run(*args) end

Instance Method Details

#descriptionObject

Since:

  • 0.6.0



16
# File 'lib/yard/cli/command.rb', line 16

def description; '' end