in nubia/internal/nubia.py [0:0]
def _validate_args(self, args):
try:
# The argument validation will raise ArgsValidationError
self._plugin.validate_args(args)
except exceptions.ArgsValidationError as e:
cprint("Arguments validation error: {}".format(str(e)), "red")
return 1
except Exception as e:
cprint(
"An exception occurred while validating the command "
"arguments: {}".format(str(e)),
"red",
)
return 1