env

package
v1.202.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedFormats = []string{"bash", "json", "dotenv", "github"}

SupportedFormats lists all supported output formats.

Functions

This section is empty.

Types

type EnvCommandProvider

type EnvCommandProvider struct{}

EnvCommandProvider implements the CommandProvider interface.

func (*EnvCommandProvider) GetAliases

func (e *EnvCommandProvider) GetAliases() []internal.CommandAlias

GetAliases returns command aliases.

func (*EnvCommandProvider) GetCommand

func (e *EnvCommandProvider) GetCommand() *cobra.Command

GetCommand returns the env command.

func (*EnvCommandProvider) GetCompatibilityFlags

func (e *EnvCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

GetCompatibilityFlags returns compatibility flags for this command.

func (*EnvCommandProvider) GetFlagsBuilder

func (e *EnvCommandProvider) GetFlagsBuilder() flags.Builder

GetFlagsBuilder returns the flags builder for this command.

func (*EnvCommandProvider) GetGroup

func (e *EnvCommandProvider) GetGroup() string

GetGroup returns the command group for help organization.

func (*EnvCommandProvider) GetName

func (e *EnvCommandProvider) GetName() string

GetName returns the command name.

func (*EnvCommandProvider) GetPositionalArgsBuilder

func (e *EnvCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

GetPositionalArgsBuilder returns the positional args builder for this command.

Jump to

Keyboard shortcuts

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