# Functions

GetAdaptorEndpointFromFlags gets the value of --adaptor-api or returns an error in case it is not valid.
GetDebugModeFromFlags gets the value of --debug flag.
GetMetadataKeysFromCmdFlags returns the keys from --metadata-keys flag.
MapContainsKeys returns true if the subject map contains target keys.
SanitizeLocalhost changes localhost to host.docker.internal in case the project is running as a docker container.