Moved typer params to config

This commit is contained in:
Cian Hughes
2023-11-06 13:54:16 +00:00
parent 1f312c89c7
commit 5140388976
2 changed files with 4 additions and 3 deletions

View File

@@ -31,6 +31,9 @@ CLEANUP_IMAGES = false
TESTING = true
CLEANUP_IMAGES = false
[default.typer]
no_args_is_help = true
[default.snoop.install]
snoop = "ss"
out = "snoop.log"

View File

@@ -10,9 +10,7 @@ from .create_disk import create_ignition_disk
from .create_img import create_img
cmd_params: Dict[Any, Any] = {
"no_args_is_help": True,
}
cmd_params: Dict[Any, Any] = config.typer
app = typer.Typer(
help="A tool for creating ignition images for automated deployment to a swarm",