Add Translations 2.0 migrate script (#34261)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-04-15 13:53:52 -07:00
1 parent 9f1bffe3be
commit 72cc656b7e
4 files changed
+72 -6

No files matched your search

+3 -1
View File
@@ -11,7 +11,9 @@ def get_base_arg_parser():
"""Get a base argument parser."""
parser = argparse.ArgumentParser(description="Home Assistant Translations")
parser.add_argument(
"action", type=str, choices=["download", "clean", "upload", "develop"]
"action",
type=str,
choices=["download", "clean", "upload", "develop", "migrate"],
)
parser.add_argument("--debug", action="store_true", help="Enable log output")
return parser