Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "dox", Short: "A brief description of your application", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your application. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { fs := afero.NewOsFs() files, err := dox.FindAll(fs, repoRoot) if err != nil { fmt.Fprintf(os.Stderr, "error: %s\n", err) os.Exit(1) } err = dox.Publish(files, repoRoot, verbose, dryRun) if err != nil { fmt.Fprintf(os.Stderr, "error: %s\n", err) os.Exit(1) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.