From 736e4fccb90c1cf9887eeaf78225fcc830292a1b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 9 Jun 2024 20:55:32 +0200 Subject: [PATCH] strings --- cd/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index e85220a..f18b635 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -97,7 +97,7 @@ def install_commands(path: str) -> None: (user / f"{COMMANDS_PREFIX}{command}").symlink_to(path) -def set_ssh(*arguments) -> None: +def set_ssh(*arguments: str) -> None: step("Set SSH") # ssh_key, ssh_hosts = arguments @@ -124,12 +124,12 @@ def set_ssh(*arguments) -> None: cat(known) -def open(*arguments) -> None: +def open(*arguments: str) -> None: print(env.CD_OPEN, end="") print(*arguments, flush=True) -def shut(*arguments) -> None: +def shut(*arguments: str) -> None: print(env.CD_SHUT, end="") print(*arguments, flush=True) @@ -138,7 +138,7 @@ def split() -> None: print(env.CD_SPLT, flush=True) -def step(*arguments) -> None: +def step(*arguments: str) -> None: env.CD_STEP += 1 print(env.CD_DOWN) print(env.CD_VERT, env.CD_STEP, *arguments)