1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-12-02 16:37:48 +01:00
gojekyll/commands/clean.go

11 lines
279 B
Go
Raw Normal View History

2017-08-11 19:25:51 +02:00
package commands
import "github.com/osteele/gojekyll/site"
var clean = app.Command("clean", "Clean the site (removes site output) without building.")
func cleanCommand(site *site.Site) error {
logger.label("Cleaner:", "Removing %s...", site.DestDir())
return site.Clean()
}