示例#1
0
func main() {
	procs := &cli.Processors{
		FieldProcessor: fields.RunFieldProcessor,
		FrontMatter:    frontmatter.NewFrontMatterProcessor,
		PlainProcessor: plain.RunPlainProcessor,
	}
	cli.NewCli(procs).Run(os.Args)
}
示例#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)
}