# File lib/hiera/backend/eyaml/subcommands/unknown_command.rb, line 20 def self.description "Unknown command (#{@@original_command})" end
# File lib/hiera/backend/eyaml/subcommands/unknown_command.rb, line 24 def self.execute subcommands = Eyaml.subcommands 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 {|command| command_class = Subcommands.const_get(Utils.camelcase command) command unless command_class.hidden? }.compact.join(", ")} EOS end
# File lib/hiera/backend/eyaml/subcommands/unknown_command.rb, line 16 def self.options [] end