Mercurial > piecrust2
diff piecrust/plugins/builtin.py @ 758:6abb436fea5b
publish: Make publisher more powerful and better exposed on the command line.
* Make the `chef publish` command have one sub-command per publish target.
* Add custom argument parsing per publisher to have strong extra arguments
available per publish target.
* Make publish targets a first class citizen of the `PieCrust` app class.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 25 Jun 2016 17:03:29 -0700 |
parents | ab5c6a8ae90a |
children | ad12a942cadd |
line wrap: on
line diff
--- a/piecrust/plugins/builtin.py Sat Jun 25 17:01:08 2016 -0700 +++ b/piecrust/plugins/builtin.py Sat Jun 25 17:03:29 2016 -0700 @@ -37,6 +37,7 @@ from piecrust.processing.sass import SassProcessor from piecrust.processing.sitemap import SitemapProcessor from piecrust.processing.util import ConcatProcessor +from piecrust.publishing.sftp import SftpPublisher from piecrust.publishing.shell import ShellCommandPublisher from piecrust.publishing.rsync import RsyncPublisher from piecrust.sources.default import DefaultPageSource @@ -133,5 +134,6 @@ def getPublishers(self): return [ ShellCommandPublisher, + SftpPublisher, RsyncPublisher]