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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user