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 usage
      puts "Usage: octofacts-updater --action <action> [--config /path/to/config.yaml] [other options]"
      puts ""
      puts "Available actions:"
      puts "  bulk:    Update fixtures and index in bulk"
      puts "  facts:   Obtain facts for one node (requires --hostname <hostname>)"
      puts "  reindex: Build a new index from the existing fact fixtures"
      puts ""
    end
def usage puts "Usage: octofacts-updater --action <action> [--config /path/to/config.yaml] [other options]" puts "" puts "Available actions:" puts "  bulk:    Update fixtures and index in bulk" puts "  facts:   Obtain facts for one node (requires --hostname <hostname>)" puts "  reindex: Build a new index from the existing fact fixtures" puts "" end
Constructor.
Constructor .