Sha256: 06bbaba9935808d1c13d4289d808cb0725a0c221fe7c3e37218e179327777f38
Contents?: true
Size: 856 Bytes
Versions: 5
Compression:
Stored size: 856 Bytes
Contents
require 'inch/cli/command/options/suggest' require 'inch/cli/command/output/suggest' module Inch module CLI module Command class Suggest < List register_command_as :suggest, true def description 'Suggests some objects to be documented (better)' end def usage 'Usage: inch suggest [paths] [options]' 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) prepare_codebase(*args) context = API::Suggest.new(codebase, @options) Output::Suggest.new(@options, context.all_objects, context.objects, context.grade_lists, context.files) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems