Open BrendanBenshoof opened 9 years ago
A few thoughts:
argparse, once you work through it, is actually really REALLY nice
At least the C version is. I used it in the last CUDA project. It had a steep learning curve but it saved me a huge hassle later when I went to tack on, mutate, munge, etc command line args randomly to do wacky things on the spot.
Right now the server runs off a config file.
What we could still use is a command line tool to manage the server and utilize the dht (read,write, check status, add peers manually, ect)
I think we should implement argparse to handle command line arguments.
we need to handle:
It might be worth rotating this into a configuration file, so use it more like:
python main.py -config configfile.json