mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
23 lines
410 B
Go
23 lines
410 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var bugreportCmd = &cobra.Command{
|
|
Use: "bugreport",
|
|
Short: "write bugreport go given path",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(bugreportCmd).Standalone()
|
|
|
|
rootCmd.AddCommand(bugreportCmd)
|
|
|
|
carapace.Gen(bugreportCmd).PositionalCompletion(
|
|
carapace.ActionFiles(),
|
|
)
|
|
}
|