add cli docs generator

This commit is contained in:
Johannes Kirschbauer
2024-04-30 18:53:00 +02:00
parent 480bb396ed
commit 1051367ca4
3 changed files with 227 additions and 2 deletions

View File

@@ -182,9 +182,10 @@ def register_update_parser(parser: argparse.ArgumentParser) -> None:
parser.add_argument(
"machines",
type=str,
help="machine to update. if empty, update all machines",
nargs="*",
default=[],
metavar="MACHINE",
help="machine to update. If no machine is specified, all machines will be updated.",
)
parser.add_argument(
"--target-host",