semver

package
v0.0.0-...-feb7e18 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QrCode

type QrCode struct {
	base.Command
	Input  Input  `short:"i" long:"output" description:"The input data to process" optional:"yes"`
	Output string `short:"o" long:"output" description:"The output file (empty for STDOUT)" optional:"yes"`
	Size   int    `short:"s" long:"size" description:"The size of the output image in pixels" optional:"yes" default:"256"`
	// TextArt specifies whether the application should output as text to the console.
	TextArt bool `short:"t" long:"text-art" description:"Whether the output should go to the console" optional:"yes"`
	// Invert specifies whether foreground (black) and background (white) colour should be inverted.
	Invert bool `short:"i" long:"invert" description:"Invert foreground and background colour" optional:"yes"`
	// Borderless specifies whether the QRCode should be created without a border.
	Borderless bool `short:"b" long:"no-border" description:"Create the QRCode without a border" optional:"yes"`
}

func (*QrCode) Execute

func (cmd *QrCode) Execute(args []string) error

Jump to

Keyboard shortcuts

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