cmd

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 30 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cmd provides command-line interface commands for Schedularr.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is the build version reported by GET /api/v1/status (gen.Status.Version, see internal/api/tunarr.go's GetStatus). It defaults to "dev" for a source build; a release build overrides it via `-ldflags "-X github.com/christopherime/schedularr/cmd.Version=..."`.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ProcessSchedule

func ProcessSchedule(cfg *config.Config, applyFlag bool, dryRunFlag bool) error

ProcessSchedule generates and optionally applies the schedule. Schedule generation, content fetching, and the apply-and-commit path all live in internal/service (service.Runner.Run) -- this function's job is CLI concerns only: opening/closing the store, the --yes gate, and rendering the result.

Types

This section is empty.

Directories

Path Synopsis
Package schema provides embedded CUE schemas for Schedularr configuration.
Package schema provides embedded CUE schemas for Schedularr configuration.

Jump to

Keyboard shortcuts

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