Fork me on GitHub
Release:
Date:
1.3
Feb 14, 2012
Flattr Mktoc

Table Of Contents

Download

Get latest source archive,
mktoc-1.3.tar.gz, or install with:

pip install mktoc --upgrade --user

Found a Bug?

Fill out a report on the issue tracker.

This Page

3.2. mktoc.cmdline

Command-line interface for Mktoc.

class mktoc.cmdline.CommandLine[source]

Bases: object

Command line runner class for executing Mktoc.

Interprets all program arguments and creates a CueParser object to generate a final TOC file.

run(argv=['-b', 'html', '-d', '_build/doctrees', '.', '_build/html'])[source]

Execution entry point.

mktoc.cmdline.main()[source]

Primary entry point for the mktoc command line application.

Creates a CommandLine object and catches any exceptions. Returns 0 to indicate success, or any other value for failure.