arguments

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GleeceIntroDoc = `` /* 633-byte string literal not displayed */
View Source
const GopherAscii string = `` /* 6792-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type CliArguments

type CliArguments struct {
	ConfigPath string

	// The debug logger's verbosity level. Must be a value between 0 (All) and 5 (Fatal only). Default - 4 (Error/Fatal)
	Verbosity uint8

	NoBanner bool
}

type FileModeArg

type FileModeArg struct {
	RawValue   string
	OctalValue uint32
}

func NewFileModeArg

func NewFileModeArg(value string) FileModeArg

func (*FileModeArg) FileMode

func (e *FileModeArg) FileMode() os.FileMode

func (*FileModeArg) Set

func (e *FileModeArg) Set(v string) error

Set must have pointer receiver so it doesn't change the value of a copy

func (*FileModeArg) String

func (e *FileModeArg) String() string

func (*FileModeArg) Type

func (e *FileModeArg) Type() string

Type is only used in help text

Jump to

Keyboard shortcuts

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