We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a3f4f commit 2e8e762Copy full SHA for 2e8e762
1 file changed
devcli/framework/base.py
@@ -17,14 +17,14 @@
17
_logger = logging.getLogger()
18
19
20
-def new(description: str = None) -> typer.Typer:
+def new(description: str = None, **kwargs) -> typer.Typer:
21
"""
22
The base of starting a new dynamic command. It
23
returns the basic Typer type for command declaration.
24
:returns: a typer.Typer
25
26
_logger.info(f"creating new command description:{description}")
27
- return typer.Typer(help=description, no_args_is_help=True, cls=OrderedGroup)
+ return typer.Typer(help=description, no_args_is_help=True, cls=OrderedGroup, **kwargs)
28
29
30
def stop(msg: str = "Error", exit_code: int = 1):
0 commit comments