File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 15
15
from convex_api import ConvexAPI
16
16
17
17
DEFAULT_URL = 'https://convex.world'
18
+
18
19
COMMAND_HELP_TEXT = '''
19
20
20
21
create Create a new account using the provided --password. If no password auto generate one.
21
22
new Same as 'create' command.
22
23
info [address] Get information about an account, you can pass the account address, or the keywords or keyfile/password of the account.
23
- '''
24
+ ''' # noqa: E501
24
25
25
26
logger = logging .getLogger ('convex_wallet' )
26
27
@@ -49,6 +50,7 @@ def load_account(args):
49
50
account = ConvexAccount .import_from_mnemonic (args .keywords )
50
51
return account
51
52
53
+
52
54
def main ():
53
55
54
56
parser = argparse .ArgumentParser (
@@ -156,5 +158,6 @@ def main():
156
158
values = convex .get_account_info (address )
157
159
print (json .dumps (values , sort_keys = True , indent = 4 ))
158
160
161
+
159
162
if __name__ == "__main__" :
160
163
main ()
You can’t perform that action at this time.
0 commit comments