app

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "path"
	VER  = "1.1.0"
	DESC = "Dead simple tool for working with paths"
)

Basic utility info

View Source
const (
	OPT_ZERO     = "z:zero"
	OPT_SPACE    = "s:space"
	OPT_QUIET    = "q:quiet"
	OPT_NO_COLOR = "nc:no-color"
	OPT_HELP     = "h:help"
	OPT_VER      = "v:version"

	OPT_VERB_VER     = "vv:verbose-version"
	OPT_COMPLETION   = "completion"
	OPT_GENERATE_MAN = "generate-man"
)

Options

View Source
const (
	CMD_BASENAME    = "base"
	CMD_DIRNAME     = "dir"
	CMD_DIRNAME_NUM = "dirn"
	CMD_READLINK    = "link"
	CMD_CLEAN       = "clean"
	CMD_COMPACT     = "compact"
	CMD_EXT         = "ext"
	CMD_ABS         = "abs"
	CMD_MATCH       = "match"
	CMD_JOIN        = "join"

	CMD_ADD_PREFIX = "add-prefix"
	CMD_DEL_PREFIX = "del-prefix"
	CMD_ADD_SUFFIX = "add-suffix"
	CMD_DEL_SUFFIX = "del-suffix"
	CMD_EXCLUDE    = "exclude"
	CMD_STRIP_EXT  = "strip-ext"

	CMD_IS_ABS   = "is-abs"
	CMD_IS_LOCAL = "is-local"
	CMD_IS_SAFE  = "is-safe"
	CMD_IS_MATCH = "is-match"
)

Variables

This section is empty.

Functions

func Run

func Run(gitRev string, gomod []byte)

Run is main utility function

Types

This section is empty.

Jump to

Keyboard shortcuts

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