mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-02-14 18:09:51 +00:00
* updates for experimental features and renamed delete to remove * added examples back for experimental features * update stability warning message Co-authored-by: Camryn Carter <camryn.carter@ranchergovernment.com> Signed-off-by: Zack Brady <zackbrady123@gmail.com> * fixed more tests to use ghcr for hauler * updated test data workflow --------- Signed-off-by: Zack Brady <zackbrady123@gmail.com> Co-authored-by: Camryn Carter <camryn.carter@ranchergovernment.com>
12 lines
277 B
Go
12 lines
277 B
Go
package flags
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
type RemoveOpts struct {
|
|
Force bool // skip remove confirmation
|
|
}
|
|
|
|
func (o *RemoveOpts) AddFlags(cmd *cobra.Command) {
|
|
cmd.Flags().BoolVarP(&o.Force, "force", "f", false, "(Optional) Remove artifact(s) without confirmation")
|
|
}
|