clean

package
v0.8.5-2-g6183dbf6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(ctx context.Context, opts *CleanOptions, args ...string) error

Clean removes the build object files of a Unikraft project.

func NewCmd

func NewCmd() *cobra.Command

Types

type CleanOptions

type CleanOptions struct {
	Architecture string `long:"arch" short:"m" usage:"Filter prepare based on a target's architecture"`
	Kraftfile    string `long:"kraftfile" short:"K" usage:"Set an alternative path of the Kraftfile"`
	Platform     string `long:"plat" short:"p" usage:"Filter prepare based on a target's platform"`
	Target       string `long:"target" short:"t" usage:"Filter prepare based on a specific target"`
	Proper       bool   `long:"proper" short:"P" usage:"Proper clean a project"`
}

func (*CleanOptions) Pre

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

func (*CleanOptions) Run

func (opts *CleanOptions) 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