# File lib/hammer_cli_foreman/commands.rb, line 509 def self.command_name(name=nil) name = super(name) || (associated_resource ? "add-"+associated_resource.singular_name : nil) name.respond_to?(:gsub) ? name.gsub('_', '-') : name end