gflags2man

Commandline flags module for Python 2

Install

All systems
curl cmd.cat/gflags2man.sh
Debian Debian
apt-get install python-gflags
Ubuntu
apt-get install python-gflags
Arch Arch Linux
pacman -S python-gflags
image/svg+xml Kali Linux
apt-get install python-gflags
Fedora
dnf install python2-gflags
Windows (WSL2)
sudo apt-get update sudo apt-get install python-gflags
Raspbian
apt-get install python-gflags

python2-gflags

Commandline flags module for Python 2

python-gflags

implementation of the Google command line flags module - Python 2.x

GFlags defines a distributed command line system, replacing systems like getopt(), optparse and manual argument processing. Rather than an application having to define all flags in or near main(), each Python module defines flags that are useful to it. When one Python module imports another, it gains access to the other's flags. It includes the ability to define flag types (boolean, float, integer, list), autogeneration of help (in both human and machine readable format) and reading arguments from a file. It also includes the ability to automatically generate man pages from the help flags. This package provides the Python 2.x module.