maestral.cli.common =================== .. py:module:: maestral.cli.common Module Contents --------------- .. py:data:: P .. py:data:: T .. py:function:: convert_api_errors(func) Decorator that catches a MaestralApiError and prints a formatted error message to stdout before exiting. Calls ``sys.exit(1)`` after printing the error to stdout. .. py:function:: check_for_fatal_errors(m) Checks the given Maestral instance for fatal errors such as revoked Dropbox access, deleted Dropbox folder etc. Prints a nice representation to the command line. :param m: Proxy to Maestral daemon or Maestral instance. :returns: True in case of fatal errors, False otherwise. .. py:data:: config_option .. py:data:: existing_config_option .. py:function:: inject_proxy(fallback, existing_config)