Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OctopusDeploy/cli
/ NewCreateFlags
Function
NewCreateFlags
pkg/cmd/ephemeralenvironment/create/create.go:32–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
func
NewCreateFlags() *CreateFlags {
33
return
&CreateFlags{
34
Name: flag.New[string](FlagName, false),
35
Project: flag.New[string](FlagProject, false),
36
}
37
}
38
39
type
CreateOptions
struct
{
40
*CreateFlags
Callers
3
TestPromptMissing_AllOptionsSupplied
Function · 0.92
TestPromptMissing_NoOptionsSupplied
Function · 0.92
NewCmdCreate
Function · 0.70
Calls
no outgoing calls
Tested by
2
TestPromptMissing_AllOptionsSupplied
Function · 0.74
TestPromptMissing_NoOptionsSupplied
Function · 0.74