MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / NewCreateFlags

Function NewCreateFlags

pkg/cmd/project/branch/create/create.go:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func NewCreateFlags() *CreateFlags {
41 return &CreateFlags{
42 Project: flag.New[string](FlagProject, false),
43 Name: flag.New[string](FlagName, false),
44 BaseBranch: flag.New[string](FlagBaseBranch, false),
45 }
46}
47
48func NewCreateOptions(flags *CreateFlags, dependencies *cmd.Dependencies) *CreateOptions {
49 return &CreateOptions{

Callers 3

NewCmdCreateFunction · 0.70

Calls

no outgoing calls