Hi,

On 26.01.2016 15:21, Dmitry Volosnykh wrote:
Igor, as far as I can see form documentation QCommandLineParser is able to support commands too. For example, see http://doc.qt.io/qt-5/qcommandlineparser.html#clearPositionalArguments. How does you library compare to just mentioned functionality? If it does something more and/or better, have you considered hacking on QCommandLineParser?

I have to play with QCommandLine* to answer your questions better.

For true, I've never used QCommandLine* and for my projects I already use QtArg...

I will play with QCommandLine* and answer in this mailing list later.

But what I understood from this example, that positional argument can be any word, may be it's a plus, may be minus... With QtArg you can specify set of commands and only this set of commands can be present in command line otherwise will be an error of parsing...


On Tue, Jan 26, 2016 at 3:00 PM Ben Lau <xben...@gmail.com <mailto:xben...@gmail.com>> wrote:

    On 26 January 2016 at 19:52, Igor Mironchik
    <igor.mironc...@gmail.com <mailto:igor.mironc...@gmail.com>> wrote:

        Hi,

        On 26.01.2016 14:11, Nikos Chantziaras wrote:

            On 25/01/16 13:48, Igor Mironchik wrote:

                Hello guys,

                I'm glad to present QtArg version 2.0.0

                In new version were

                  * implemented commands in command line,
                  * improved hierarchy of argument classes,
                  * improved help system,
                  * improved syntax,
                  * fixed different issues.


            Maybe it would be a good idea to tell people what the heck
            this is first :-P


        Sorry, I thought that many people know about QtArg. It's very
        simple. QtArg - this is classes to parse command line
        arguments. Like QCommandLineOption and QCommandLineParser, but
        with support of commands, i.e., for example, "git add
        file.txt" - "add" - this is command... :)


    Hi Igor,

    Interesting. I would suggest to add a license file or stay the
    license of your library in README.md.

    Moreover, will you consider to publish your library on qpm.io
    <http://qpm.io> ?


    _______________________________________________
    Interest mailing list
    Interest@qt-project.org <mailto:Interest@qt-project.org>
    http://lists.qt-project.org/mailman/listinfo/interest


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to