command

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commands

type Commands struct {
	// Canvas creates a new image with the given size and colour.
	Canvas canvas.Canvas `command:"canvas" alias:"c" description:"Create a new image with the given size and colour." `
	// Rectangle adds a rectangle as an overlay to an image.
	Rectangle rectangle.Rectangle `command:"rectangle" alias:"r" description:"Add a rectangle as an overlay to an image." `
	// Circle adds a circle as an overlay to an image.
	Circle circle.Circle `command:"circle" alias:"o" description:"Add a circle as an overlay to an image." `
	// Ellipse adds an ellipse as an overlay to an image.
	Ellipse ellipse.Ellipse `command:"ellipse" alias:"e" description:"Add an ellipse as an overlay to an image." `
	// Image superimposes an image as an overlay to the given image.
	Image image.Image `command:"image" alias:"i" description:"Superimposes an image as an overlay to the given image." `
	// Text adds text as an overlay to an image.
	Text text.Text `command:"text" alias:"t" description:"Add text as an overlay to an image." `
	// Version prints overlay version information and exits.
	Version version.Version `command:"version" alias:"v" description:"Show the command version and exit."`
}

Commands is the set of root command groups.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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