Documentation
¶
Overview ¶
Package bugreports provides the cobra-cli command for managing multiple bugreports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "bugreports", Aliases: []string{"bugreport", "reports", "report"}, Short: "Manage your bugreports", Long: `Manage the bugreports dinkel generated. With this command you can easily rerun, regenerate, delete or edit the names of the generated bugreports.`, Run: func(cmd *cobra.Command, args []string) { bugreportsDir, err := cmd.Flags().GetString("bugreports") if err != nil { logrus.Errorf("Failed to get location of bugreports - %v", err) os.Exit(1) } p := tea.NewProgram(createInspectModel(bugreportsDir), tea.WithAltScreen()) if _, err := p.Run(); err != nil { logrus.Errorf("Bugreports command failed - %v", err) os.Exit(1) } }, }
Cmd for managing the bugreports
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.