Method: Dry::CLI::Usage.command_name

Defined in:
lib/dry/cli/usage.rb

.command_name(result, name) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0



91
92
93
# File 'lib/dry/cli/usage.rb', line 91

def self.command_name(result, name)
  ProgramName.call([result.names, name])
end