Merge pull request 'pkgs/cli: Fix suggestion after key generation' (#2539) from kenji/clan-core:kenji-pkgs-cli/fix/add-key into main

This commit is contained in:
clan-bot
2024-12-03 09:12:59 +00:00

View File

@@ -35,7 +35,7 @@ def generate_command(args: argparse.Namespace) -> None:
key = generate_key() key = generate_key()
print("Also add your age public key to the repository with:") print("Also add your age public key to the repository with:")
key_type = key.key_type.name.lower() 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: def show_command(args: argparse.Namespace) -> None: