ovh-apikey-manager/cmd/list.go

25 lines
414 B
Go
Raw Normal View History

2023-06-11 17:01:59 +02:00
/*
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
*/
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// listCmd represents the list command
var listCmd = &cobra.Command{
Use: "list",
Short: "List all active API Keys",
Long: `Lists all of your currently active API Keys`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("list called")
},
}
func init() {
rootCmd.AddCommand(listCmd)
}