initcmd

package
v1.226.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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