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 1515from convex_api import ConvexAPI
1616
1717DEFAULT_URL = 'https://convex.world'
18+
1819COMMAND_HELP_TEXT = '''
1920
2021create Create a new account using the provided --password. If no password auto generate one.
2122new Same as 'create' command.
2223info [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
2425
2526logger = logging .getLogger ('convex_wallet' )
2627
@@ -49,6 +50,7 @@ def load_account(args):
4950 account = ConvexAccount .import_from_mnemonic (args .keywords )
5051 return account
5152
53+
5254def main ():
5355
5456 parser = argparse .ArgumentParser (
@@ -156,5 +158,6 @@ def main():
156158 values = convex .get_account_info (address )
157159 print (json .dumps (values , sort_keys = True , indent = 4 ))
158160
161+
159162if __name__ == "__main__" :
160163 main ()
You can’t perform that action at this time.
0 commit comments