commandutil

package
v0.7.179 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandCommand

func ExpandCommand(workDir, command string) string

ExpandCommand replaces template variables in command before execution. {{CHANGED_PACKAGES}} expands to the space-separated list of Go package paths whose source files appear in `git diff HEAD`. Expands to "./..." when no .go files changed.

func FormatElapsed

func FormatElapsed(d time.Duration) string

func NameWidth

func NameWidth(commands []config.Command) int

func SkipRemaining

func SkipRemaining(status iostream.StatusFunc, remaining []config.Command, width int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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