cli

package
v0.0.0-...-3d62f7a Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App = &cli.App{
	Usage:       "hex color manipulator",
	Description: "Hexer is a command line tool that inspects and manipulates hex colors. All input colors must be in long hex format (6 hex digits prefixed with #.)",
	Authors:     []*cli.Author{{Name: "https://github.com/devkvlt"}},
	HideHelp:    true,
	CommandNotFound: func(ctx *cli.Context, s string) {
		badCmd := ctx.Args().First()
		fmt.Printf("Command %q not found. Run `hexer` or `hexer help` to view all the available commands.\n", badCmd)
		os.Exit(1)
	},
	Commands: []*cli.Command{
		&help,

		&red,
		&green,
		&blue,
		&hue,
		&saturation,
		&lightness,
		&luminance,

		&contratio,

		&setr,
		&setg,
		&setb,
		&seth,
		&sets,
		&setl,

		&lighten,
		&darken,
		&saturate,
		&desaturate,

		&invert,

		&mix,
		&grad,
		&lightgrad,
		&darkgrad,

		&adjust,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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