UrDHT / PyUrDHT

Python reference implementation
11 stars 3 forks source link

Needs to have better command line experience #9

Open BrendanBenshoof opened 9 years ago

BrendanBenshoof commented 9 years ago

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

nwautomator commented 9 years ago

A few thoughts:

mmcd commented 9 years ago

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.

BrendanBenshoof commented 9 years ago

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)