Help us shape the future of Go! Take the 2026 Go Developer Survey

shots

package
v1.261022.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetFrameFunc added in v1.260325.0

func SetFrameFunc(fn func(context.Context, screenshots.FrameRequest) (*screenshots.FrameResult, error)) func()

SetFrameFunc replaces the frame implementation for tests, for both single inputs and --input-dir batches; a replacement ignores the batch output root. It returns a restore function to reset the previous handlers.

func SetFrameOutputFoldsCase

func SetFrameOutputFoldsCase(fold bool) func()

SetFrameOutputFoldsCase forces whether --input-dir treats output names as case-insensitive, for tests. It returns a restore function.

func ShotsCaptureCommand

func ShotsCaptureCommand() *ffcli.Command

ShotsCaptureCommand returns the screenshots capture subcommand.

func ShotsFrameCommand

func ShotsFrameCommand() *ffcli.Command

ShotsFrameCommand returns the screenshots frame subcommand.

func ShotsFramesListDevicesCommand

func ShotsFramesListDevicesCommand() *ffcli.Command

ShotsFramesListDevicesCommand returns the screenshots list-frame-devices subcommand.

func ShotsMatrixCommand added in v1.260904.0

func ShotsMatrixCommand() *ffcli.Command

ShotsMatrixCommand returns the local screenshot matrix subcommand.

func ShotsReviewApproveCommand

func ShotsReviewApproveCommand() *ffcli.Command

ShotsReviewApproveCommand returns screenshots review-approve subcommand.

func ShotsReviewGenerateCommand

func ShotsReviewGenerateCommand() *ffcli.Command

ShotsReviewGenerateCommand returns screenshots review-generate subcommand.

func ShotsReviewOpenCommand

func ShotsReviewOpenCommand() *ffcli.Command

ShotsReviewOpenCommand returns screenshots review-open subcommand.

func ShotsRunCommand

func ShotsRunCommand() *ffcli.Command

ShotsRunCommand returns the screenshots run subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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