mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
23 lines
397 B
Go
23 lines
397 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var keygenCmd = &cobra.Command{
|
|
Use: "keygen",
|
|
Short: "generate adb public/private key",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(keygenCmd).Standalone()
|
|
|
|
rootCmd.AddCommand(keygenCmd)
|
|
|
|
carapace.Gen(keygenCmd).PositionalCompletion(
|
|
carapace.ActionFiles(),
|
|
)
|
|
}
|