Autoformat

This commit is contained in:
hhh
2024-05-27 17:12:21 +03:00
parent 0afca0dd67
commit 918d5af851
25 changed files with 358 additions and 378 deletions

View File

@@ -1,30 +1,30 @@
import click
from dragonion_server.utils.onion import Onion
from dragonion_server.common import console
from dragonion_server.utils.onion import Onion
class ServiceWriteCommand(click.Command):
def __init__(self):
super().__init__(
name='write',
name="write",
callback=self.callback,
params=[
click.Option(
('--name', '-n'),
("--name", "-n"),
required=True,
prompt=True,
type=str,
help='Name of service to write to'
help="Name of service to write to",
),
click.Option(
('--port', '-p'),
("--port", "-p"),
required=True,
prompt=True,
type=int,
help='Port to start service on'
)
]
help="Port to start service on",
),
],
)
@staticmethod