lib/octofacts_updater/cli.rb
# Constructor.
#
# argv - The Array with command line arguments.
Constructor.
argv - The Array with command line arguments.
Constructor . argv - The Array with command line arguments .
def handle_action_facts
      unless opts[:hostname]
        raise ArgumentError, "--hostname <hostname> must be specified to use --action facts"
      end
      facts_for_one_node
    end
def handle_action_facts unless opts [ :hostname ] raise ArgumentError , "--hostname <hostname> must be specified to use --action facts" end facts_for_one_node end
Constructor.
Constructor .