{"modulePath":"github.com/OctopusDeploy/cli","version":"v1.7.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package create\n\n## Constants\n\n```go\nconst (\n\tFlagName = \"name\"\n)\n```\n\n## Functions\n\n```go\nfunc NewCmdCreate(f factory.Factory) *cobra.Command\n```\n\n```go\nfunc PromptMissing(opts *CreateOptions) error\n```\n\n## Types\n\n```go\ntype CreateFlags struct {\n\tName *flag.Flag[string]\n\n\t*machinescommon.CreateTargetProxyFlags\n\t*shared.CreateTargetEnvironmentFlags\n\t*shared.CreateTargetRoleFlags\n\t*machinescommon.CreateTargetMachinePolicyFlags\n\t*shared.CreateTargetTenantFlags\n\t*machinescommon.WebFlags\n\t*machinescommon.SshCommonFlags\n}\n```\n\n```go\nfunc NewCreateFlags() *CreateFlags\n```\n\n```go\ntype CreateOptions struct {\n\t*CreateFlags\n\tGetAllAccountsForSshTarget\n\t*machinescommon.SshCommonOptions\n\t*machinescommon.CreateTargetProxyOptions\n\t*shared.CreateTargetEnvironmentOptions\n\t*shared.CreateTargetRoleOptions\n\t*machinescommon.CreateTargetMachinePolicyOptions\n\t*shared.CreateTargetTenantOptions\n\t*cmd.Dependencies\n}\n```\n\n```go\nfunc NewCreateOptions(createFlags *CreateFlags, dependencies *cmd.Dependencies) *CreateOptions\n```\n\n```go\ntype GetAllAccountsForSshTarget func() ([]accounts.IAccount, error)\n```\n\n","path":"github.com/OctopusDeploy/cli/pkg/cmd/target/ssh/create","name":"create","synopsis":"","isRedistributable":true}
