mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-23 08:01:15 +00:00
20 lines
396 B
Go
20 lines
396 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/rsteube/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var pub_logoutCmd = &cobra.Command{
|
|
Use: "logout",
|
|
Short: "Log out of pub.dev",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(pub_logoutCmd).Standalone()
|
|
|
|
pub_logoutCmd.Flags().BoolP("help", "h", false, "Print this usage information.")
|
|
pubCmd.AddCommand(pub_logoutCmd)
|
|
}
|