require 'uri' require 'benchmark' require 'json' require 'io/console' require 'logging' require 'optparse' require 'bolt/config' require 'bolt/error' require 'bolt/executor' require 'bolt/inventory' require 'bolt/logger' require 'bolt/outputter' require 'bolt/puppetdb' require 'bolt/pal' require 'bolt/target' require 'bolt/version' module Bolt class CLIError < Bolt::Error def initialize(msg) super(msg, "bolt/cli-error") end end class CLIExit < StandardError; end class CLI class BoltOptionParser < OptionParser BANNER = <<-HELP.freeze Usage: bolt [options] Available subcommands: bolt command run Run a command remotely bolt script run