Table Of Contents

Previous topic

mvpa.misc.bv.base

Next topic

mvpa.misc.data_generators

This Page

Quick search

mvpa.misc.cmdline

Common functions and options definitions for command line

__docformat__ = ‘restructuredtext’

Conventions: Every option (instance of optparse.Option) has prefix “opt”. Lists of options has prefix opts (e.g. opts.common).

Option name should be camelbacked version of .dest for the option.

The comprehensive API documentation for this module, including all technical details, is available in the Epydoc-generated API reference for mvpa.misc.cmdline (for developers).

Classes

OptionGroups

class mvpa.misc.cmdline.OptionGroups(parser)

Bases: object

Group creation is delayed until instance is requested.

This allows to overcome the problem of poluting handled cmdline options

add(name, l, doc)

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the OptionGroups documentation.

Full API documentation of OptionGroups in module mvpa.misc.cmdline.

Options

class mvpa.misc.cmdline.Options

Bases: object

Just a convinience placeholder for all available options

See also

Derived classes might provide additional methods via their base classes. Please refer to the list of base classes (if it exists) at the begining of the Options documentation.

Full API documentation of Options in module mvpa.misc.cmdline.