callbacks
module callbacks
callbacks
function version_callback
version_callback
Prints the current version when --version
flag is added to a call.
Args:
value
(bool): represents if the flag has been added or not to the call.
Raises:
Exit
: exit the CLI execution
function debug_callback
debug_callback
If a call adds the --debug
flag debugging mode is activated for external requests and API Clients.
Args:
_
(type): discarded valuevalue
(bool): represents if the flag has been added to the call or not
Returns:
bool
: pass the value back so it can be used in the clients
Last updated