Sha256: 0b4a7d7fdf3023812d46e31a694187752165b47b40b3344eb916ab922c30a0fb
Contents?: true
Size: 716 Bytes
Versions: 63
Compression:
Stored size: 716 Bytes
Contents
# frozen_string_literal: true module YARD module CLI # Lists all constant and method names in the codebase. Uses {Yardoc} --list. class List < Command def description; 'Lists all constant and methods. Uses `yard doc --list`' end # Runs the commandline utility, parsing arguments and displaying a # list of objects # # @param [Array<String>] args the list of arguments. # @return [void] def run(*args) if args.include?('--help') log.puts "Usage: yard list [yardoc_options]" log.puts "Takes the same arguments as yardoc. See yardoc --help" else Yardoc.run('-c', '--list', *args) end end end end end
Version data entries
63 entries across 62 versions & 9 rubygems