add

package
v0.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 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