Skip to content
Snippets Groups Projects
Commit 71c4f47a authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

feat: dynamically check for container variants

Change-Id: Id9c0c786ee99013938431032935648223f6e462c
parent d96bab9b
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,11 @@ parser = argparse.ArgumentParser(
to OUTPUT.
"""))
all_styles = list(os.listdir(os.path.dirname(os.path.realpath(__file__)) + "/../share/yashchiki/styles/"))
# mandatory
parser.add_argument(
"style", type=str, choices=["visionary", "asic", "f27"],
"style", type=str, choices=all_styles,
help="Style of container to build.")
parser.add_argument(
"spack_dir", type=pathlib.Path,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment