mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
ruff format
This commit is contained in:
+6
-6
@@ -1,18 +1,18 @@
|
||||
from argenta import App, Orchestrator, Command
|
||||
from argenta.app import DynamicDividingLine
|
||||
from argenta import App, Command, Orchestrator
|
||||
|
||||
from .handlers import router
|
||||
|
||||
|
||||
app = App(initial_message="metrics", exit_command=Command('exit', aliases=['quit']))
|
||||
app = App(initial_message="metrics", exit_command=Command("exit", aliases=["quit"]))
|
||||
orchestrator = Orchestrator()
|
||||
|
||||
|
||||
def main() -> None:
|
||||
app.include_router(router)
|
||||
app.set_description_message_pattern(
|
||||
lambda command, description: f'[bold cyan]▸[/bold cyan] [bold white]{command}[/bold white] [dim]│[/dim] [yellow italic]{description}[/yellow italic]'
|
||||
lambda command,
|
||||
description: f"[bold cyan]▸[/bold cyan] [bold white]{command}[/bold white] [dim]│[/dim] [yellow italic]{description}[/yellow italic]"
|
||||
)
|
||||
orchestrator.run_repl(app)
|
||||
# orchestrator.run_repl(app)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user