config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConfig

func NewCmdConfig(f *cmdutil.Factory) *cobra.Command

NewCmdConfig creates the config command with subcommands.

func NewCmdConfigDefaultAs

func NewCmdConfigDefaultAs(f *cmdutil.Factory) *cobra.Command

NewCmdConfigDefaultAs creates the "config default-as" subcommand.

func NewCmdConfigInit

func NewCmdConfigInit(f *cmdutil.Factory, runF func(*ConfigInitOptions) error) *cobra.Command

NewCmdConfigInit creates the config init subcommand.

func NewCmdConfigRemove

func NewCmdConfigRemove(f *cmdutil.Factory, runF func(*ConfigRemoveOptions) error) *cobra.Command

NewCmdConfigRemove creates the config remove subcommand.

func NewCmdConfigShow

func NewCmdConfigShow(f *cmdutil.Factory, runF func(*ConfigShowOptions) error) *cobra.Command

NewCmdConfigShow creates the config show subcommand.

Types

type ConfigInitOptions

type ConfigInitOptions struct {
	Factory *cmdutil.Factory
	Ctx     context.Context
	AppID   string

	AppSecretStdin bool // read app-secret from stdin (avoids process list exposure)
	Brand          string
	New            bool
	Lang           string
	// contains filtered or unexported fields
}

ConfigInitOptions holds all inputs for config init.

type ConfigRemoveOptions

type ConfigRemoveOptions struct {
	Factory *cmdutil.Factory
}

ConfigRemoveOptions holds all inputs for config remove.

type ConfigShowOptions

type ConfigShowOptions struct {
	Factory *cmdutil.Factory
}

ConfigShowOptions holds all inputs for config show.

Jump to

Keyboard shortcuts

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