maestral.cli.cli_core#

Module Contents#

maestral.cli.cli_core.OK[source]#
maestral.cli.cli_core.FAILED[source]#
maestral.cli.cli_core.KILLED[source]#
maestral.cli.cli_core.stop_daemon_with_cli_feedback(config_name)[source]#

Wrapper around daemon.stop_maestral_daemon_process() with command line feedback.

Parameters:

config_name (str) –

Return type:

None

maestral.cli.cli_core.select_dbx_path_dialog(config_name, default_dir_name=None, allow_merge=False)[source]#

A CLI dialog to ask for a local Dropbox folder location.

Parameters:
  • config_name (str) – The configuration to use for the default folder name.

  • default_dir_name (str | None) – The default directory name. Defaults to “Dropbox ({config_name})” if not given.

  • allow_merge (bool) – If True, allows the selection of an existing folder without deleting it. Defaults to False.

Returns:

Path given by user.

Return type:

str

A CLI dialog for linking a Dropbox account.

Parameters:

m (maestral.daemon.MaestralProxy | maestral.main.Maestral) – Proxy to Maestral daemon.

Return type:

None

maestral.cli.cli_core.start(foreground, verbose, config_name)[source]#
Parameters:
  • foreground (bool) –

  • verbose (bool) –

  • config_name (str) –

Return type:

None

maestral.cli.cli_core.stop(config_name)[source]#
Parameters:

config_name (str) –

Return type:

None

maestral.cli.cli_core.gui(config_name)[source]#
Parameters:

config_name (str) –

Return type:

None

maestral.cli.cli_core.pause(m)[source]#
Parameters:

m (maestral.main.Maestral) –

Return type:

None

maestral.cli.cli_core.resume(m)[source]#
Parameters:

m (maestral.main.Maestral) –

Return type:

None

maestral.cli.cli_core.auth()[source]#
Return type:

None

Parameters:
Return type:

None

Parameters:
  • yes (bool) –

  • config_name (str) –

Return type:

None

maestral.cli.cli_core.auth_status(config_name)[source]#
Parameters:

config_name (str) –

Return type:

None

Return type:

None

Parameters:
Return type:

None

Parameters:
Return type:

None

Parameters:
Return type:

None