mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
360 B
Go
21 lines
360 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var exportSourceCmd = &cobra.Command{
|
|
Use: "source",
|
|
Short: "Export source commands",
|
|
}
|
|
|
|
var (
|
|
exportSourceWithCred bool
|
|
)
|
|
|
|
func init() {
|
|
exportSourceCmd.PersistentFlags().BoolVar(&exportSourceWithCred, "with-credentials", false, "include credential secrets")
|
|
|
|
exportCmd.AddCommand(exportSourceCmd)
|
|
}
|