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

Set rich_click.{SHOW_ARGUMENTS,OPTIONS_GROUPS} (#466)

parent 5424b7fe
No related branches found
No related tags found
1 merge request!241Use rich_click (#466)
Pipeline #32523 passed
......@@ -40,6 +40,30 @@ from silkaj.wot.lookup import lookup_cmd
from silkaj.wot.membership import send_membership
from silkaj.wot.status import status
click.rich_click.SHOW_ARGUMENTS = True
click.rich_click.OPTION_GROUPS = {
"silkaj": [
{
"name": "Basic options",
"options": ["--help", "--version"],
},
{
"name": "Endpoint and currency specification",
"options": ["--endpoint", "--gtest"],
},
{
"name": "Authentication",
"options": [
"--auth-scrypt",
"--nrp",
"--auth-file",
"--auth-seed",
"--auth-wif",
],
},
],
}
@click.group()
@click.help_option("-h", "--help")
......
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