Added top-level overall command

This commit is contained in:
Cian Hughes
2023-10-27 17:44:13 +01:00
parent dae9e33125
commit 6947fe8c99
4 changed files with 21 additions and 0 deletions

18
node_deployer.py Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python3
import typer
from create_img import create_img
from create_disk import create_ignition_disk
from autoignition import json_to_img
app = typer.Typer(
help="A tool for creating ignition images for automated deployment to a swarm"
)
app.command()(create_img)
app.command()(create_ignition_disk)
app.command()(json_to_img)
if __name__ == "__main__":
app()