command:html: rewrite as a libbe.util.wsgi.ServerCommand.
authorW. Trevor King <wking@tremily.us>
Mon, 3 Sep 2012 17:10:04 +0000 (13:10 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 3 Sep 2012 17:21:59 +0000 (13:21 -0400)
commitdb403548c022711796942f25473e05e9fe02c04b
tree9f93a28f500782569852a38174054d9f6ab949bb
parent61f65db36071309fc9e6cd8c7a143be6c236fb62
command:html: rewrite as a libbe.util.wsgi.ServerCommand.

Now `be html` defaults to serving the BE repo live.  With the
`--export-html` option, it reverts to the earlier static dump
behaviour.

This will make it easier for others to embed a read-only HTML server
in their own app (e.g. as a gitorious issue tracker).
libbe/command/html.py