cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppVersion = "dev"

AppVersion is set at link time by GoReleaser (-X flag); dev builds use the default.

Functions

func CleanPath

func CleanPath(path string) (string, error)

func DedupePaths

func DedupePaths(paths []string) ([]string, error)

func EnsureDatasetRoot

func EnsureDatasetRoot(root string) error

func EnsureOutputDir

func EnsureOutputDir(path string, force bool) error

func LoadVersionFromRoot

func LoadVersionFromRoot(root string) (lerobot.Version, error)

func Logf

func Logf(g GlobalOpts, format string, args ...any)

func NewCompletionCmd

func NewCompletionCmd() *cobra.Command

func NewConvertCmd

func NewConvertCmd() *cobra.Command

func NewCreateCmd

func NewCreateCmd() *cobra.Command

func NewMergeCmd

func NewMergeCmd() *cobra.Command

func NewRoot

func NewRoot() *cobra.Command

func NewValidateCmd

func NewValidateCmd() *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func ParseStatsMode

func ParseStatsMode(s string) (stats.Options, error)

func ParseVersion

func ParseVersion(s string) (lerobot.Version, error)

func PrintFileTree

func PrintFileTree(root string) error

func PrintJSON

func PrintJSON(v any) error

func VersionString

func VersionString(v lerobot.Version) string

Types

type GlobalOpts

type GlobalOpts struct {
	Verbose    bool
	FFmpegPath string
	JSON       bool
}

GlobalOpts holds persistent CLI flags.

var Globals GlobalOpts

Jump to

Keyboard shortcuts

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