2017-08-11 20:24:09 +02:00
|
|
|
package commands
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2022-01-29 20:17:23 +01:00
|
|
|
"github.com/danog/gojekyll/plugins"
|
2017-08-11 20:24:09 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
var pluginsApp = app.Command("plugins", "List emulated plugins")
|
|
|
|
|
|
|
|
func pluginsCommand() error {
|
|
|
|
logger.label("Plugins:", "")
|
|
|
|
for _, name := range plugins.Names() {
|
|
|
|
fmt.Printf(" %s\n", name)
|
|
|
|
}
|
2022-01-29 20:17:23 +01:00
|
|
|
fmt.Println("\nhttps://github.com/danog/gojekyll/blob/master/docs/plugins.md describes plugin implementation status.")
|
2017-08-11 20:24:09 +02:00
|
|
|
fmt.Println("(This may not accurately describe your installation, if you are running an older version of gojekyll.)")
|
|
|
|
return nil
|
|
|
|
}
|