Last page update: November 23, 2011
Classes:
External methods:
Complete reference:
These methods don’t belong to any class.
A framework to build command line utilities in GenroPy.
Argument parsing inspired by Michele Simionato’s plac.
Three scripts for the genro-kings under softwell sky,
Seven for goodsoftware-lords in their halls of stone,
Nine for mortal customers with money they will buy,
One for the Dark Lord Gio on his dark throne,
In the Land of GenroPy where the Commands lie.
One Script to rule them all, One Script to find them,
One Script to bring them all and in the darkness bind them
In the Land of GenroPy where the Commands lie
Run GenroPy commands.
This class implements the ‘gnr’ command
Parse command line and execute ‘gnr’ commands.
TODO
A command line utility.
Auto-generate a standard argument configuration from __call__’s python arguments
Return the command description
File where main is implemented
Initialize this command’s arguments.
| Parameters: | subparsers – TODO |
|---|
Line where main is implemented
TODO
Run this command
A decorator to describe arguments to a ‘gnr’ command. Return the command
See add_argument in the argparse module for help on args
| Parameters: | dest – TODO |
|---|
A decorator to define new ‘gnr’ commands. Return the new command. See ArgumentParser constructor in the argparse module for help on args
| Parameters: |
|
|---|