feat(aklive2d): removed the ability to show choices

This commit is contained in:
Haoyu Xu
2021-07-25 14:49:55 -04:00
parent 99d508b9c7
commit a885c7725d
2 changed files with 11 additions and 13 deletions

View File

@@ -47,8 +47,7 @@ class AkLive2D:
dest="operator_name",
type=str,
required=True,
help="<Required> Operatro to develop",
choices=[key for key in self.config["operators"]]
help="<Required> Operatro to develop",
)
build = subprasers.add_parser(
@@ -64,8 +63,7 @@ class AkLive2D:
type=str,
default=["all"],
nargs='+',
help="Operators to build",
choices=["all"] + [key for key in self.config["operators"]]
help="Operators to build"
)
self.args = parser.parse_args()