Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdDoc = &cli.Command{ Hidden: true, Name: "doc", Usage: "show documentation for package or symbol", ArgsUsage: "name...", Flags: []cli.Flag{ appbase.MakeFlag_target(), appbase.MakeFlag_tags(), }, Action: func(c *cli.Context) error { opt := appbase.BuildOptions(c) var pkgpath = "." var names []string if c.Args().Len() > 0 { pkgpath = c.Args().First() } if c.Args().Len() > 1 { names = c.Args().Slice()[1:] } RunDoc(opt.Config(), pkgpath, names...) return nil }, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.