Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUpdateCallback ¶ added in v1.0.3
func GetUpdateCallback() func()
GetUpdateCallback returns a callback function that updates cloudlist
Types ¶
type Options ¶
type Options struct {
JSON bool // JSON returns JSON output
Silent bool // Silent Display results only
Version bool // Version returns the version of the tool.
Verbose bool // Verbose prints verbose output.
Hosts bool // Hosts specifies to fetch only DNS Names
IPAddress bool // IPAddress specifes to fetch only IP Addresses
Config string // Config is the location of the config file.
Output string // Output is the file to write found results too.
ExcludePrivate bool // ExcludePrivate excludes private IPs from results
Providers goflags.StringSlice // Providers specifies what providers to fetch assets for.
Id goflags.StringSlice // Id specifies what id's to fetch assets for.
Services goflags.StringSlice // Services specifies what services to fetch assets for a provider.
ProviderConfig string // ProviderConfig is the location of the provider config file.
DisableUpdateCheck bool // DisableUpdateCheck disable automatic update check
}
Options contains the configuration options for cloudlist.
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line flags provided by a user
Click to show internal directories.
Click to hide internal directories.