remove

package
v0.9.0-31-g2e452100 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

func Remove

func Remove(ctx context.Context, opts *RemoveOptions, args ...string) error

Remove a Unikraft library from the project directory.

Types

type RemoveOptions

type RemoveOptions struct {
	Kraftfile string `long:"kraftfile" short:"K" usage:"Set an alternative path of the Kraftfile"`
	Workdir   string `long:"workdir" short:"w" usage:"workdir to remove lib from"`
}

func (*RemoveOptions) Pre

func (opts *RemoveOptions) Pre(cmd *cobra.Command, _ []string) error

func (*RemoveOptions) Run

func (opts *RemoveOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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