Command-line interface
Is your feature request related to a problem? Please describe.
In order to make it easy to interact with the package, a CLI might be needed.
Describe the solution you'd like
Call CLI like the following examples :
-
ergpy send simple <addr1> <addr2> -
ergpy send token <id> <addr1> <addr2> -
ergpy get wallet-addresses --no-addresses 2 -
ergpy get box-info <index> <addr>
Warning @mgpai22 I will need your help defining the commands' behavior.
Additional context
- argparse — Parser for command-line options, arguments and sub-commands
Back on it
Hey thanks for getting back on this!
I have skimmed through this it looks good so far. I have not worked on programming a CLI so I guess I will be learning along.
Once you get further along the documentation I will play around with it and make modifications as necessary.
Currently a suggestion I have is to store a persistent mnemonic during the first use of CLI. This could perhaps be encrypted.
Hey thanks for getting back on this!
I have skimmed through this it looks good so far. I have not worked on programming a CLI so I guess I will be learning along.
Once you get further along the documentation I will play around with it and make modifications as necessary.
Currently a suggestion I have is to store a persistent mnemonic during the first use of CLI. This could perhaps be encrypted.
I will look at how we can do that local store, good idea indeed !
In addition to that GitHub will soon release a Roadmap feature on Projects, so if you want you can create a Project to track the features that have to be implemented.
Roadmap sounds interesting!