add

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package add defines the options and add logic for the index files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIndexAddCmd

func NewIndexAddCmd(ctx context.Context, opt *options.Common) *cobra.Command

NewIndexAddCmd returns the index add command.

Types

type IndexAddOptions

type IndexAddOptions struct {
	*options.Common
}

IndexAddOptions contains the options for the index add command.

func (*IndexAddOptions) RunIndexAdd

func (o *IndexAddOptions) RunIndexAdd(ctx context.Context, args []string) error

RunIndexAdd implements the index add command.

Jump to

Keyboard shortcuts

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