Update the help and defaults for the notify message command.

main
KKlochko 1 year ago
parent b6bc41da4c
commit 162f4bd30d

@ -30,22 +30,25 @@ def up(
@notify.command() @notify.command()
def message( def message(
notification_title: str = typer.Option(
"notification", "--title", "-t",
help="[b yellow]The title[/] for the [y b]notification[/].",
rich_help_panel="Notification",
),
notification_message: str = typer.Option(
'', "--message", "-m",
help="[b yellow]The message[/] for the [y b]notification[/].",
rich_help_panel="Notification",
),
ip: str = typer.Option( ip: str = typer.Option(
"127.0.0.1", "--ip", "-i", "127.0.0.1", "--ip", "-i",
help="The server's ip.", help="The server's ip.",
rich_help_panel="Connection",
), ),
port: int = typer.Option( port: int = typer.Option(
5554, "--port", "-p", 5554, "--port", "-p",
help="The server's port for [b]producers[/].", help="The server's port for [b]producers[/].",
), rich_help_panel="Connection",
notification_title: str = typer.Option(
"notification", "--title", "-t",
help="[b yellow]The title[/] for the [y b]notification[/]."
),
# TODO as argument (required)
notification_message: str = typer.Option(
'hello', "--title", "-t",
help="[b yellow]The message[/] for the [y b]notification[/]."
), ),
): ):
""" """

Loading…
Cancel
Save