Improved argument parsing
This commit is contained in:
13
src/cpl_core/configuration/flag_argument.py
Normal file
13
src/cpl_core/configuration/flag_argument.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from cpl_core.configuration.argument_abc import ArgumentABC
|
||||
|
||||
|
||||
class FlagArgument(ArgumentABC):
|
||||
|
||||
def __init__(self,
|
||||
token: str,
|
||||
name: str,
|
||||
aliases: list[str],
|
||||
console_arguments: list['ArgumentABC'] = None
|
||||
):
|
||||
|
||||
ArgumentABC.__init__(self, token, name, aliases, console_arguments)
|
||||
Reference in New Issue
Block a user