lego/cmd/revoke.go

30 lines
447 B
Go
Raw Normal View History

package cmd
import (
"fmt"
"io/ioutil"
"path"
"github.com/spf13/cobra"
)
func revokeHandler(cmd *cobra.Command, args []string) {
}
// 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)
}