Method: Rouge::CLI.doc

Defined in:
lib/rouge/cli.rb

.doc {|%|usage: rougify [command] [args...]|| ... } ⇒ Object

Yields:

  • (%|usage: rougify [command] [args...]|)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
# File 'lib/rouge/cli.rb', line 37

def self.doc
  return enum_for(:doc) unless block_given?

  yield %|usage: rougify [command] [args...]|
  yield %||
  yield %|where <command> is one of:|
  yield %|	highlight	#{Highlight.desc}|
  yield %|	help		#{Help.desc}|
  yield %|	style		#{Style.desc}|
  yield %|	list		#{List.desc}|
  yield %|	version		#{Version.desc}|
  yield %||
  yield %|See `rougify help <command>` for more info.|
end