mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
some fix
This commit is contained in:
+3
-6
@@ -1,3 +1,5 @@
|
||||
import platform
|
||||
|
||||
from argenta.response import Response, Status
|
||||
from argenta.app import App
|
||||
from argenta.app.dividing_line import StaticDividingLine, DynamicDividingLine
|
||||
@@ -14,10 +16,5 @@ from argenta.command.models import InputCommand
|
||||
import inspect
|
||||
|
||||
|
||||
router = Router()
|
||||
|
||||
|
||||
@router.command(Command('some'))
|
||||
def handler(res: Response) -> Response:
|
||||
pass
|
||||
print(platform.system())
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ from argenta.orchestrator.argparser.arguments import BooleanArgument
|
||||
|
||||
arg_parser = ArgParser(processed_args=[BooleanArgument('repeat')])
|
||||
app: App = App(dividing_line=DynamicDividingLine(),
|
||||
autocompleter=AutoCompleter('./mock/.hist'),
|
||||
autocompleter=AutoCompleter(),
|
||||
repeat_command_groups=False,)
|
||||
orchestrator: Orchestrator = Orchestrator(arg_parser)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user