mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-22 23:51:16 +00:00
19 lines
341 B
Go
19 lines
341 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var context_showCmd = &cobra.Command{
|
|
Use: "show",
|
|
Short: "Print the name of the current context",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(context_showCmd).Standalone()
|
|
|
|
contextCmd.AddCommand(context_showCmd)
|
|
}
|