mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-25 09:01:15 +00:00
21 lines
524 B
Go
21 lines
524 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var doctorCmd = &cobra.Command{
|
|
Use: "doctor",
|
|
Short: "Show information about the installed tooling",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(doctorCmd).Standalone()
|
|
|
|
doctorCmd.Flags().Bool("android-licenses", false, "Run the Android SDK manager tool to accept the SDK's licenses.")
|
|
doctorCmd.Flags().BoolP("help", "h", false, "Print this usage information.")
|
|
rootCmd.AddCommand(doctorCmd)
|
|
}
|