clone

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagGroup       = "group"
	FlagName        = "name"
	FlagDescription = "description"
	FlagSource      = "source"
	FlagLifecycle   = "lifecycle"
)

Variables

This section is empty.

Functions

func NewCmdClone

func NewCmdClone(f factory.Factory) *cobra.Command

func PromptMissing

func PromptMissing(opts *CloneOptions) ([]cmd.Dependable, error)

Types

type CloneFlags

type CloneFlags struct {
	Group       *flag.Flag[string]
	Name        *flag.Flag[string]
	Description *flag.Flag[string]
	Source      *flag.Flag[string]
	Lifecycle   *flag.Flag[string]
}

func NewCloneFlags

func NewCloneFlags() *CloneFlags

type CloneOptions

type CloneOptions struct {
	*CloneFlags
	*cmd.Dependencies
	GetAllGroupsCallback       projectShared.GetAllGroupsCallback
	CreateProjectGroupCallback projectShared.CreateProjectGroupCallback
	shared.GetAllProjectsCallback
}

func NewCloneOptions

func NewCloneOptions(createFlags *CloneFlags, dependencies *cmd.Dependencies) *CloneOptions

func (*CloneOptions) Commit

func (co *CloneOptions) Commit() error

func (*CloneOptions) GenerateAutomationCmd

func (co *CloneOptions) GenerateAutomationCmd()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL