05-08-2015, 10:26 PM
Many parameters are fine for me, but unreadable parameters are not.
Information on MCServer
|
05-08-2015, 10:26 PM
Many parameters are fine for me, but unreadable parameters are not.
(05-08-2015, 10:26 PM)bearbin Wrote: Many parameters are fine for me, but unreadable parameters are not. I totally agree. The good thing is, who doesn't need it will not confronted with it, this is one main difference with the config file solution. In addition, it builds on the principles of the command line, both Linux and Windows are using parameters, so admins will find their way quickly. To that, a large part of the webinterfaces (Bright Game Panel, GamepanelX etc.) using the principle of the parameters, and using MCServer within a webinterface has made always trouble.
05-08-2015, 10:57 PM
Then we just need to sort out the windows parameter style issue, as most existing command line parameters use windows style. I'd particularly like xofts input on that.
05-09-2015, 12:36 AM
It's alright with me if you want to change the parameter style. Those present are used mostly for testing only anyway.
However, don't forget about Windows, there's no getopt() there, so we'll most likely need a new 3rd party library for the param parsing.
05-09-2015, 06:10 AM
How about TCLAP? http://sourceforge.net/projects/tclap/ Its small, simple, standard c++.
05-09-2015, 07:32 AM
Looks nice and is header-only, which is always a benefit
Is there a clone on GitHub already? I'd prefer all our gitmodules there, rather than accessing multiple servers.
05-09-2015, 07:41 AM
There's no official mirrors but we might want to clone it into our own organization.
05-09-2015, 07:42 AM
(05-09-2015, 07:32 AM)xoft Wrote: Looks nice and is header-only, which is always a benefit It's possible to clone it from here http://sourceforge.net/p/tclap/code/ci/master/tree/ git clone git://git.code.sf.net/p/tclap/code tclap-code
05-09-2015, 07:55 AM
That's still multiple servers.
05-09-2015, 09:38 PM
I'm going to start on TCLAP
|
« Next Oldest | Next Newest »
|