• Home
  • History
  • Annotate
  • only in /external/chromium-trace/catapult/third_party/gsutil/third_party/python-gflags/
NameDateSize

..21-Dec-20174 KiB

AUTHORS21-Dec-201732

ChangeLog21-Dec-20172.4 KiB

COPYING21-Dec-20171.4 KiB

debian/21-Dec-20174 KiB

gflags.py21-Dec-2017101.8 KiB

gflags2man.py21-Dec-201718.4 KiB

gflags_validators.py21-Dec-20176.8 KiB

Makefile21-Dec-20171.5 KiB

MANIFEST.in21-Dec-2017388

NEWS21-Dec-20173.2 KiB

README21-Dec-20171.1 KiB

setup.py21-Dec-20171.9 KiB

README

1This repository contains a python implementation of the Google commandline
2flags module.
3
4 GFlags defines a *distributed* command line system, replacing systems like
5 getopt(), optparse and manual argument processing. Rather than an application
6 having to define all flags in or near main(), each python module defines flags
7 that are useful to it.  When one python module imports another, it gains
8 access to the other's flags.
9
10 It includes the ability to define flag types (boolean, float, interger, list),
11 autogeneration of help (in both human and machine readable format) and reading
12 arguments from a file. It also includes the ability to automatically generate
13 man pages from the help flags.
14
15Documentation for implementation is at the top of gflags.py file.
16
17To install the python module, run
18   python ./setup.py install
19
20When you install this library, you also get a helper application,
21gflags2man.py, installed into /usr/local/bin.  You can run gflags2man.py to
22create an instant man page, with all the commandline flags and their docs, for
23any C++ or python program you've written using the gflags library.
24