confab.main

Main function declaration for confab console_script.

Confab may be used from within a fabfile or as a library. The main function here is provided as a simple default way to invoke confab’s tasks:

  • A single directory root is assumed, with templates, data, generated and remotes directories defined as subdirectories.
  • A host list must be provided on the command line.

For more complex invocation, a custom fabfile may be more appropriate.

confab.main.main()[source]

Main command line entry point.

confab.main.parse_options()[source]

Parse command line options.

Directory and host are required, though directory defaults to the current working directory.