mirror of
https://github.com/Cian-H/I-Form_Server_Node_Deployer.git
synced 2025-12-23 06:32:08 +00:00
Added top-level overall command
This commit is contained in:
18
node_deployer.py
Normal file
18
node_deployer.py
Normal 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()
|
||||
Reference in New Issue
Block a user