mirror of
https://github.com/Cian-H/I-Form_Server_Node_Deployer.git
synced 2025-12-22 14:12:01 +00:00
Moved typer params to config
This commit is contained in:
@@ -31,6 +31,9 @@ CLEANUP_IMAGES = false
|
|||||||
TESTING = true
|
TESTING = true
|
||||||
CLEANUP_IMAGES = false
|
CLEANUP_IMAGES = false
|
||||||
|
|
||||||
|
[default.typer]
|
||||||
|
no_args_is_help = true
|
||||||
|
|
||||||
[default.snoop.install]
|
[default.snoop.install]
|
||||||
snoop = "ss"
|
snoop = "ss"
|
||||||
out = "snoop.log"
|
out = "snoop.log"
|
||||||
|
|||||||
@@ -10,9 +10,7 @@ from .create_disk import create_ignition_disk
|
|||||||
from .create_img import create_img
|
from .create_img import create_img
|
||||||
|
|
||||||
|
|
||||||
cmd_params: Dict[Any, Any] = {
|
cmd_params: Dict[Any, Any] = config.typer
|
||||||
"no_args_is_help": True,
|
|
||||||
}
|
|
||||||
|
|
||||||
app = typer.Typer(
|
app = typer.Typer(
|
||||||
help="A tool for creating ignition images for automated deployment to a swarm",
|
help="A tool for creating ignition images for automated deployment to a swarm",
|
||||||
|
|||||||
Reference in New Issue
Block a user