mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
20 lines
292 B
Go
20 lines
292 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var exportCmd = &cobra.Command{
|
|
Use: "export",
|
|
Short: "Export commands",
|
|
}
|
|
|
|
var (
|
|
exportAll bool
|
|
)
|
|
|
|
func init() {
|
|
exportCmd.PersistentFlags().BoolVar(&exportAll, "all", false, "select all resources")
|
|
|
|
rootCmd.AddCommand(exportCmd)
|
|
}
|