Files
hauler/internal/flags/create.go
T
2026-08-19 00:09:37 -04:00

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)")
}