From rogeeff@mail.com Fri Nov 16 19:57:49 2001 Received: from imap.cs.msu.su (imap.cs.msu.su [158.250.10.15]) by redsun.cs.msu.su (8.9.3/8.9.3) with ESMTP id TAA06515 for ; Fri, 16 Nov 2001 19:59:43 +0300 (MSK) Received: from n15.groups.yahoo.com (n15.groups.yahoo.com [216.115.96.65]) by imap.cs.msu.su (8.11.6/8.11.6) with SMTP id fAGGtrd57869 for ; Fri, 16 Nov 2001 19:55:54 +0300 (MSK) (envelope-from sentto-1234907-17382-1005929874-ghost=cs.msu.su@returns.groups.yahoo.com) X-eGroups-Return: sentto-1234907-17382-1005929874-ghost=cs.msu.su@returns.groups.yahoo.com Received: from [10.1.1.222] by n15.groups.yahoo.com with NNFMP; 16 Nov 2001 16:57:42 -0000 X-Sender: rogeeff@mail.com X-Apparently-To: boost@yahoogroups.com Received: (EGP: mail-8_0_0_1); 16 Nov 2001 16:57:53 -0000 Received: (qmail 2553 invoked from network); 16 Nov 2001 16:57:53 -0000 Received: from unknown (216.115.97.172) by m4.grp.snv.yahoo.com with QMQP; 16 Nov 2001 16:57:53 -0000 Received: from unknown (HELO n6.groups.yahoo.com) (216.115.96.56) by mta2.grp.snv.yahoo.com with SMTP; 16 Nov 2001 16:57:53 -0000 X-eGroups-Return: rogeeff@mail.com Received: from [10.1.10.109] by n6.groups.yahoo.com with NNFMP; 16 Nov 2001 16:57:52 -0000 To: boost@yahoogroups.com Message-ID: <9t3gid+hdf3@eGroups.com> In-Reply-To: User-Agent: eGroups-EW/0.82 X-Mailer: eGroups Message Poster X-Originating-IP: 199.119.33.162 From: "Gennadiy E. Rozental" X-Yahoo-Profile: rogeeff MIME-Version: 1.0 Mailing-List: list boost@yahoogroups.com; contact boost-owner@yahoogroups.com Delivered-To: mailing list boost@yahoogroups.com Precedence: bulk List-Unsubscribe: Date: Fri, 16 Nov 2001 16:57:49 -0000 Reply-To: boost@yahoogroups.com Subject: [boost] Re: arguments parsing, wildcard matcher Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Content-Length: 5662 Status: R X-Status: N --- In boost@y..., Vladimir Prus wrote: > > > Just a couple of classes I wrote that I wondered if anyone thought > > any place in boost: > > > > arguments : simple command-line arguments and options parser: > > > > class arguments > > { > > public: > > arguments(int argc, char* argv[]); > > > > bool has_option(const char* name) const; > > bool get_option(const char* name, bool& value) const; > > > Any interest? Already proposed? Wasting my time? > > Actually, I'm already working on library with the same goals but more > elaborated. Moreover, it's almost finished. I planned to announce it later, > but have to do it now. My design goals were: > - It should be resonable to use the library to parse as little as 2 command > line options. > - It must be extandable to privide any resonable handling > - since command line is just a way to affect the program behaviour, other > ways to accomplish that must be provided, most notable is configuration file > - library should provide a way to store information from command line and > config file in a way allowing easy retrieval and using to change configurable > parameters of the program. > > The docs are available at: > http://chronos.cs.msu.su/~ghost/projects/config_db/doc/index.html > > Let me know what you think. Privet, Volodya. Here what I am looking for to be supported by Command Line Argument Framework directly or by means of easy extension: 1. command line argument formats a. - b. - c. - d. -