Skip to content
Snippets Groups Projects
Commit c5b9607e authored by Moul's avatar Moul
Browse files

Rename certification cmd to certify (#430)

parent 9112c5a8
No related branches found
No related tags found
1 merge request!229#430: Rename to certify and revocation create commands
......@@ -35,7 +35,7 @@ from silkaj.money.balance import balance_cmd
from silkaj.money.history import transaction_history
from silkaj.money.transfer import transfer_money
from silkaj.wot import revocation
from silkaj.wot.certification import send_certification
from silkaj.wot.certification import certify
from silkaj.wot.lookup import lookup_cmd
from silkaj.wot.membership import send_membership
from silkaj.wot.status import status
......@@ -159,7 +159,7 @@ def wot_group() -> None:
pass
wot_group.add_command(send_certification)
wot_group.add_command(certify)
wot_group.add_command(lookup_cmd)
wot_group.add_command(send_membership)
wot_group.add_command(status)
......
......@@ -33,10 +33,10 @@ from silkaj.public_key import gen_pubkey_checksum, is_pubkey_and_check
from silkaj.wot import tools as wot_tools
@click.command("certification", help="Send certification")
@click.command("certify", help="Send certification")
@click.argument("uid_pubkey_to_certify")
@click.pass_context
def send_certification(ctx: click.Context, uid_pubkey_to_certify: str) -> None:
def certify(ctx: click.Context, uid_pubkey_to_certify: str) -> None:
client = client_instance()
checked_pubkey = is_pubkey_and_check(uid_pubkey_to_certify)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment