From 47d4dc7ef0e7af88087fe8c5d5b027d055c637fe Mon Sep 17 00:00:00 2001 From: Xiaoliang Wu Date: Mon, 17 Jan 2022 22:03:48 -0800 Subject: [PATCH] Create __all__ for the file cli.py (#587) * add __all__ to files "adjustmentsinfo.py" and "albuminfo.py" * add __all__ to file "cli.py" --- osxphotos/cli.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/osxphotos/cli.py b/osxphotos/cli.py index a76fda28..6a8afb89 100644 --- a/osxphotos/cli.py +++ b/osxphotos/cli.py @@ -71,6 +71,50 @@ from .sqlgrep import sqlgrep from .uti import get_preferred_uti_extension from .utils import expand_and_validate_filepath, load_function, normalize_fs_path +__all__ = ["verbose_", + "get_photos_db", + "DateTimeISO8601", + "BitMathSize", + "TimeISO8601", + "FunctionCall", + "CLI_Obj", + "deleted_options", + "QUERY_OPTIONS", + "cli", + "export", + "help", + "query", + "print_photo_info", + "export_photo", + "export_photo_to_directory", + "get_filenames_from_template", + "get_dirnames_from_template", + "find_files_in_branch", + "load_uuid_from_file", + "write_export_report", + "cleanup_files", + "write_finder_tags", + "write_extended_attributes", + "run_post_command", + "install", + "uninstall", + "keywords", + "albums", + "persons", + "labels", + "info", + "places", + "dump", + "list_libraries", + "uuid", + "about", + "tutorial", + "repl", + "grep", + "debug_dump", + "snap", + "diff"] + # global variable to control verbose output # set via --verbose/-V VERBOSE = False