initcmd

package
v1.223.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitCommandProvider

type InitCommandProvider struct{}

InitCommandProvider implements the CommandProvider interface.

func (*InitCommandProvider) GetAliases

func (i *InitCommandProvider) GetAliases() []internal.CommandAlias

GetAliases returns command aliases for the init command.

func (*InitCommandProvider) GetCommand

func (i *InitCommandProvider) GetCommand() *cobra.Command

GetCommand returns the init command.

func (*InitCommandProvider) GetCompatibilityFlags

func (i *InitCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

GetCompatibilityFlags returns compatibility flags for this command. Init command has no compatibility flags.

func (*InitCommandProvider) GetFlagsBuilder

func (i *InitCommandProvider) GetFlagsBuilder() flags.Builder

GetFlagsBuilder returns the flags builder for this command. Init command flags are defined in cobra directly.

func (*InitCommandProvider) GetGroup

func (i *InitCommandProvider) GetGroup() string

GetGroup returns the command group for help organization.

func (*InitCommandProvider) GetName

func (i *InitCommandProvider) GetName() string

GetName returns the command name.

func (*InitCommandProvider) GetPositionalArgsBuilder

func (i *InitCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

GetPositionalArgsBuilder returns the positional args builder for this command. Init command has no positional args builder.

func (*InitCommandProvider) IsExperimental

func (i *InitCommandProvider) IsExperimental() bool

IsExperimental returns whether this command is experimental. Init ships as experimental while the project-template catalog and update workflow mature; behavior may change between releases.

Jump to

Keyboard shortcuts

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