update

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package update implements the "scut update" command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Version       string `arg:"" optional:"" help:"Target release version. Defaults to latest stable release." placeholder:"VERSION"`
	TargetVersion string `help:"Target release version. Defaults to latest stable release." name:"target-version" placeholder:"VERSION"`
	DryRun        bool   `help:"Show detected install method and planned action without changing files." name:"dry-run"`
}

Cmd is the Kong command for "scut update".

func (*Cmd) Run

func (c *Cmd) Run(stdout io.Writer, fs afero.Fs, logger *slog.Logger) error

Run updates script-installed scut binaries and prints guidance for managed installs.

Jump to

Keyboard shortcuts

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