cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package cmd provides command-line interface commands for program-director.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately

func SetVersionInfo

func SetVersionInfo(v, c, d string)

SetVersionInfo sets the version information from build flags

Types

type MediaStatistics

type MediaStatistics struct {
	MovieCount       int64
	SeriesCount      int64
	AnimeCount       int64
	TotalPlays       int64
	OnCooldown       int64
	TopGenres        map[string]int
	AverageRating    float64
	TotalSize        int64
	ConfiguredThemes int
}

MediaStatistics holds media library statistics

Jump to

Keyboard shortcuts

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