Esempio n. 1
0
func main() {
	procs := &cli.Processors{
		FieldProcessor: fields.RunFieldProcessor,
		FrontMatter:    frontmatter.NewFrontMatterProcessor,
		PlainProcessor: plain.RunPlainProcessor,
	}
	cli.NewCli(procs).Run(os.Args)
}
Esempio n. 2
0
func main() {
	procs := cli.Processors{
		FieldProcessor:    fields.RunFieldProcessor,
		FrontMatter:       frontmatter.RunFrontMatterProcessor,
		PlainProcessor:    plain.RunPlainProcessor,
		DocTableProcessor: doctable.RunDocFinder,
	}
	cli.NewCli(procs).Run(os.Args)
}