Server IP : 66.29.132.122 / Your IP : 52.14.205.205 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.4.0/lib/hiera/backend/eyaml/subcommands/ |
Upload File : |
require 'hiera/backend/eyaml/subcommand' class Hiera module Backend module Eyaml module Subcommands class UnknownCommand < Eyaml::Subcommand class << self attr_accessor :original_command end @@original_command = "unknown" def self.options [] end def self.description "Unknown command (#{@@original_command})" end 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 def self.hidden? true end end end end end end