dlhub_cli package¶
Subpackages¶
Submodules¶
dlhub_cli.config module¶
-
dlhub_cli.config.
get_dlhub_client
(force=False)¶ Get the DLHub client
Returns: DLHubClient with the proper credentials Return type: DLHubClient
dlhub_cli.main module¶
dlhub_cli.printing module¶
Functions related to cleaner printing of the outputs
-
dlhub_cli.printing.
format_output
(dataobject)¶ Use safe print to make sure jobs are correctly printed.
Parameters: dataobject (string) – String to print.
-
dlhub_cli.printing.
safeprint
(s)¶ Catch print errors.
Parameters: s (string) – String to print.