class Hiera::Backend::Eyaml::Subcommands::UnknownCommand
Attributes
Public Class Methods
Source
# File lib/hiera/backend/eyaml/subcommands/unknown_command.rb, line 18 def self.description "Unknown command (#{@@original_command})" end
Source
# File lib/hiera/backend/eyaml/subcommands/unknown_command.rb, line 22 def self.execute puts <<~EOS Unknown subcommand#{': ' + Eyaml.subcommand if Eyaml.subcommand} Usage: eyaml <subcommand> Please use one of the following subcommands or help for more help: #{Eyaml.subcommands.sort.collect do |command| command_class = Subcommands.const_get(Utils.camelcase(command)) command unless command_class.hidden? end.compact.join(', ')} EOS end
Source
# File lib/hiera/backend/eyaml/subcommands/unknown_command.rb, line 14 def self.options [] end