2016-03-29 10:14:48 +00:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
2016-03-29 16:55:17 +00:00
|
|
|
"io/ioutil"
|
|
|
|
"path"
|
2016-03-29 10:14:48 +00:00
|
|
|
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
2016-03-29 16:55:17 +00:00
|
|
|
func revokeHandler(cmd *cobra.Command, args []string) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-03-29 10:14:48 +00:00
|
|
|
// revokeCmd represents the revoke command
|
|
|
|
var revokeCmd = &cobra.Command{
|
|
|
|
Use: "revoke",
|
|
|
|
Short: "Revoke a certificate",
|
2016-03-29 16:55:17 +00:00
|
|
|
Long: ``,
|
2016-03-29 10:14:48 +00:00
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
|
|
// TODO: Work your own magic here
|
|
|
|
fmt.Println("revoke called")
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
RootCmd.AddCommand(revokeCmd)
|
2016-03-29 16:55:17 +00:00
|
|
|
|
2016-03-29 10:14:48 +00:00
|
|
|
}
|