# Packages
Package main is the entry point of the Caddy application.
# Functions
AdminAPIRequest makes an API request according to the CLI flags given, with the given HTTP method and request URI.
Commands returns a list of commands initialised by RegisterCommand.
DetermineAdminAPIAddress determines which admin API endpoint address should be used based on the inputs.
LoadConfig loads the config from configFile and adapts it using adapterName.
Main implements the main function of the caddy command.
RegisterCommand registers the command cmd.
WrapCommandFuncForCobra wraps a Caddy CommandFunc for use in a cobra command's RunE field.
# Type aliases
CommandFunc is a command's function.
StringSlice is a flag.Value that enables repeated use of a string flag.