mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-08-24 11:47:20 +00:00
16 lines
316 B
Go
16 lines
316 B
Go
package flags
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
type CreateManifestOpts struct {
|
|
*StoreRootOpts
|
|
|
|
Output string
|
|
}
|
|
|
|
func (o *CreateManifestOpts) AddFlags(cmd *cobra.Command) {
|
|
f := cmd.Flags()
|
|
|
|
f.StringVarP(&o.Output, "output", "o", "", "(Optional) Path to write the generated manifest to (defaults to stdout)")
|
|
}
|