cmd

package
v2.0.0-rc Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package cmd provides all the functions describing mlp's commands

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is dynamically set by the ci or overridden by the Makefile.
	Version = "DEV"
	// BuildDate is dynamically set at build time by the cli or overridden in the Makefile.
	BuildDate = "" // YYYY-MM-DD
)

Functions

func NewRootCommand

func NewRootCommand() *cobra.Command

Types

type Flags

type Flags struct {
	// contains filtered or unexported fields
}

func (*Flags) AddFlags

func (f *Flags) AddFlags(flags *pflag.FlagSet)

AddFlags set the connection between Flags property to command line flags

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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