Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
c5b9607e
Commit
c5b9607e
authored
2 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
Rename certification cmd to certify (
#430
)
parent
9112c5a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!229
#430: Rename to certify and revocation create commands
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
silkaj/cli.py
+2
-2
2 additions, 2 deletions
silkaj/cli.py
silkaj/wot/certification.py
+2
-2
2 additions, 2 deletions
silkaj/wot/certification.py
with
4 additions
and
4 deletions
silkaj/cli.py
+
2
−
2
View file @
c5b9607e
...
...
@@ -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_
certif
ication
from
silkaj.wot.certification
import
certif
y
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_
certif
ication
)
wot_group
.
add_command
(
certif
y
)
wot_group
.
add_command
(
lookup_cmd
)
wot_group
.
add_command
(
send_membership
)
wot_group
.
add_command
(
status
)
...
...
This diff is collapsed.
Click to expand it.
silkaj/wot/certification.py
+
2
−
2
View file @
c5b9607e
...
...
@@ -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
(
"
certif
ication
"
,
help
=
"
Send certification
"
)
@click.command
(
"
certif
y
"
,
help
=
"
Send certification
"
)
@click.argument
(
"
uid_pubkey_to_certify
"
)
@click.pass_context
def
send_
certif
ication
(
ctx
:
click
.
Context
,
uid_pubkey_to_certify
:
str
)
->
None
:
def
certif
y
(
ctx
:
click
.
Context
,
uid_pubkey_to_certify
:
str
)
->
None
:
client
=
client_instance
()
checked_pubkey
=
is_pubkey_and_check
(
uid_pubkey_to_certify
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment