class Rouge::CLI::Debug
def self.desc
def self.desc end
def self.doc
def self.doc return enum_for(:doc) unless block_given? yield %|usage: rougify debug [<options>]| yield %|| yield %|Debug a lexer. Similar options to `rougify highlight`, but| yield %|defaults to the `null` formatter, and ensures the `debug`| yield %|option is enabled, to print debugging information to stdout.| end
def self.parse_opts(argv)
def self.parse_opts(argv) out = super(argv) out[:lexer_opts]['debug'] = '1' out[:formatter] = 'null' out end