cmdgroup

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdGroup

type CmdGroup struct {
	ParentCmd    *cobra.Command
	CurrentCmd   *cobra.Command
	Configurator *configurator.Configurator
	*consoler_types.ChannelParams
}

func NewCmdGroup

func NewCmdGroup(
	rootCmdPrefix *cobra.Command,
	channelParams *consoler_types.ChannelParams,
	configur *configurator.Configurator,
	command Command, short_desc ShortDesc,
) CmdGroup

func (CmdGroup) GetChild

func (c CmdGroup) GetChild(
	parentCmd *cobra.Command,
	command Command, short_desc ShortDesc,
) *CmdGroup

type Command

type Command string

type ShortDesc

type ShortDesc string

Jump to

Keyboard shortcuts

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