cmd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootProcess

type RootProcess struct {
	Config   config.Config
	Logger   logger.ILogger
	Settings config.Settings

	Router   *mux.Router
	Modules  map[string]modules.IBaseModule
	Prompter userio.Prompter
	// contains filtered or unexported fields
}

func (*RootProcess) Execute

func (root *RootProcess) Execute() error

type SeedProcess

type SeedProcess struct {
	Config    config.Config
	Logger    logger.ILogger
	Settings  config.Settings
	Router    *mux.Router
	Modules   map[string]modules.IBaseModule
	IsNewOnly bool
}

func (*SeedProcess) GetCmd

func (sp *SeedProcess) GetCmd(prompter userio.Prompter) (*cobra.Command, error)

func (*SeedProcess) Seed

func (sp *SeedProcess) Seed(mods map[string]modules.IBaseModule, prompter userio.Prompter) error

Jump to

Keyboard shortcuts

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