lego/cmd/revoke.go
Gianluca ac406d0be7 inital for cobra structure
added commands from lego
2016-03-29 12:14:48 +02:00

23 lines
369 B
Go

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// revokeCmd represents the revoke command
var revokeCmd = &cobra.Command{
Use: "revoke",
Short: "Revoke a certificate",
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
// TODO: Work your own magic here
fmt.Println("revoke called")
},
}
func init() {
RootCmd.AddCommand(revokeCmd)
}