refactor: subdivide injection functions

This commit is contained in:
Julian Lobbes
2022-11-27 13:49:32 +01:00
parent 76eb606c97
commit 21f68af0e7
5 changed files with 77 additions and 71 deletions

View File

@@ -62,11 +62,12 @@ def get_argument_parser():
# register arguments for the 'inject' subcommand
subparser_inject.add_argument(
"PRESEEDFILE",
"FILES",
action='store',
type=str,
metavar='PRESEEDFILE',
help="Path to the preseed file you want to inject",
nargs='+',
metavar='FILES',
help="Paths to all input files you want to inject",
)
subparser_inject.add_argument(
"-i",