config

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: GPL-2.0 Imports: 7 Imported by: ? modules, 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

func NewAddSourceCommand

func NewAddSourceCommand(factory cmd.Factory) *cobra.Command

NewAddSourceCommand creates and returns the command

func NewCommand

func NewCommand(factory cmd.Factory) *cobra.Command

NewCommand creates and returns a new command

func NewListSourcesCommand

func NewListSourcesCommand(factory cmd.Factory) *cobra.Command

NewListSourcesCommand creates and returns the command

func NewRemoveSourceCommand

func NewRemoveSourceCommand(factory cmd.Factory) *cobra.Command

NewRemoveSourceCommand creates and returns the command

func NewSourcesCommand

func NewSourcesCommand(factory cmd.Factory) *cobra.Command

NewSourcesCommand creates and returns the command

func NewViewCommand

func NewViewCommand(factory cmd.Factory) *cobra.Command

NewViewCommand creates and returns the command

Types

type AddSourceCommand

type AddSourceCommand struct {
	cmd.Factory
	// Source is the source to add
	Source string
}

AddSourceCommand are the options for the command

func (*AddSourceCommand) Run

func (o *AddSourceCommand) Run(ctx context.Context) error

Run runs the command

type ListSourcesCommand

type ListSourcesCommand struct {
	cmd.Factory
}

ListSourcesCommand are the options for the command

func (*ListSourcesCommand) Run

Run runs the command

type RemoveSourceCommand

type RemoveSourceCommand struct {
	cmd.Factory
	// Source is the source to add
	Source string
}

RemoveSourceCommand are the options for the command

func (*RemoveSourceCommand) Run

Run runs the command

type ViewCommand

type ViewCommand struct {
	cmd.Factory
}

ViewCommand are the options for the command

func (*ViewCommand) Run

func (o *ViewCommand) Run(ctx context.Context) error

Run runs the command

Jump to

Keyboard shortcuts

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