cli

package
v3.7.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APP  = "Perfecto"
	VER  = "3.7.1"
	DESC = "Tool for checking perfectly written RPM specs"
)

App info

View Source
const (
	OPT_FORMAT      = "f:format"
	OPT_LINT_CONFIG = "c:lint-config"
	OPT_ERROR_LEVEL = "e:error-level"
	OPT_ABSOLVE     = "A:absolve"
	OPT_QUIET       = "q:quiet"
	OPT_NO_LINT     = "nl:no-lint"
	OPT_NO_COLOR    = "nc:no-color"
	OPT_HELP        = "h:help"
	OPT_VER         = "v:version"

	OPT_COMPLETION = "completion"
)

Options

View Source
const (
	FORMAT_SUMMARY = "summary"
	FORMAT_SHORT   = "short"
	FORMAT_TINY    = "tiny"

	FORMAT_JSON = "json"
	FORMAT_XML  = "xml"
)

Supported formats

View Source
const (
	LEVEL_NOTICE   = "notice"
	LEVEL_WARNING  = "warning"
	LEVEL_ERROR    = "error"
	LEVEL_CRITICAL = "critical"
)

Levels

View Source
const WIKI_URL = "https://kaos.sh/perfecto/w/"

Variables

This section is empty.

Functions

func Init

func Init()

Init is main function of cli

Types

This section is empty.

Jump to

Keyboard shortcuts

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