Class | YARD::CLI::Command |
In: |
lib/yard/cli/command.rb
|
Parent: | Object |
Abstract base class for CLI utilities. Provides some helper methods for the option parser
@abstract @since 0.6.0
Adds a set of common options to the tail of the OptionParser
@param [OptionParser] opts the option parser object @return [void]
Loads a Ruby script. If Config.options[:safe_mode] is enabled, this method will do nothing.
@param [String] file the path to the script to load @since 0.6.2