The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:
Find a file
Craig Silverstein 690172b4d8 Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com>
* google-gflags: version 0.4
	* Remove is_default from GetCommandLineFlagInfo (csilvers)
	* Portability fixes: includes, strtoll, gcc4.3 errors (csilvers)
	* A few doc typo cleanups (csilvers)


git-svn-id: https://gflags.googlecode.com/svn/trunk@13 6586e3c6-dcc4-952a-343f-ff74eb82781d
2007-04-20 21:16:33 +00:00
doc Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
packages Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
python Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
src Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
aclocal.m4 Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
AUTHORS gflags 0.1 2007-03-22 00:15:41 +00:00
ChangeLog Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
compile gflags 0.1 2007-03-22 00:15:41 +00:00
config.guess Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
config.sub Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
configure Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
configure.ac Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
COPYING gflags 0.1 2007-03-22 00:15:41 +00:00
depcomp gflags 0.1 2007-03-22 00:15:41 +00:00
INSTALL gflags 0.1 2007-03-22 00:15:41 +00:00
install-sh gflags 0.1 2007-03-22 00:15:41 +00:00
ltmain.sh Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
Makefile.am Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
Makefile.in Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com> 2007-04-20 21:16:33 +00:00
missing gflags 0.1 2007-03-22 00:15:41 +00:00
mkinstalldirs gflags 0.1 2007-03-22 00:15:41 +00:00
NEWS gflags 0.1 2007-03-22 00:15:41 +00:00
README gflags 0.2 2007-03-22 00:18:13 +00:00

This repository contains both a C++ and a python implementation of the
Google commandline flags module.  Documentation for the C++
implementation is in doc/.  Documentation for the python
implementation is at the top of gflags/flags.py.

See INSTALL for (generic) installation instructions for C++: basically
   ./configure && make && make install

To install the python module, run
   cd python; python ./setup.py install

When you install the python library, you also get a helper
application, gflags2man.py, installed into /usr/local/bin.  You can
run gflags2man.py to create an instant man page, with all the
commandline flags and their docs, for any C++ or python program you've
written using the gflags library.