pkgs/cli: Fix suggestion after key generation

Fix the suggestion that is given when generating a new key.

Closes: #2537
This commit is contained in:
a-kenji
2024-12-03 10:01:55 +01:00
parent d61e417e50
commit 05c12e4ee9

View File

@@ -35,7 +35,7 @@ def generate_command(args: argparse.Namespace) -> None:
key = generate_key()
print("Also add your age public key to the repository with:")
key_type = key.key_type.name.lower()
print(f"clan secrets users add --{key_type}-key <username>")
print(f"clan secrets users add <username> --{key_type}-key <key>")
def show_command(args: argparse.Namespace) -> None: