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