mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 16:57:29 +00:00
21 lines
336 B
Go
21 lines
336 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var deleteCmd = &cobra.Command{
|
|
Use: "delete",
|
|
Short: "Delete commands",
|
|
}
|
|
|
|
var (
|
|
deleteSilent bool
|
|
)
|
|
|
|
func init() {
|
|
deleteCmd.PersistentFlags().BoolVarP(&deleteSilent, "silent", "s", false,
|
|
"delete resource without asking for confirmation")
|
|
|
|
rootCmd.AddCommand(deleteCmd)
|
|
}
|