lsargs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	All       *bool
	AlmostAll *bool
	Sort      *string
	Size      *bool
	Human     *bool
	SI        *bool
	Bytes     *bool
	Blocks    *bool

	Time      *string
	TimeStyle *string
	FullTime  *bool
	Mtime     *bool
	Ctime     *bool
	Atime     *bool

	Owner         *bool
	Group         *bool
	NoGroup       *bool
	NumericUidGid *bool
	ModeOct       *bool
	Mode          *bool
	Inode         *bool

	Long       *bool
	SingleCol  *bool
	Horizontal *bool
	Vertical   *bool
	Compact    *bool
	Vbar       *bool

	QuotingStyle *string

	Shortcut_literal *bool
	Shortcut_escape  *bool

	Directory *bool
	DirsFirst *bool
	DirsOnly  *bool
	FilesOnly *bool

	Dereference *bool
	Links       *bool
	LinkRel     *bool

	Reverse   *bool
	Stats     *bool
	Icons     *bool
	Nerdfont  *bool
	Recursive *bool
	Find      *string
	Color     *string
	Header    *bool
	Json      *bool
	Csv       *bool

	Minsize *int
	Maxsize *int

	Shortcut_t *bool
	Shortcut_c *bool
	Shortcut_u *bool
	Shortcut_U *bool
	Shortcut_S *bool
	Shortcut_X *bool

	ColorsJson *bool

	Expr  *string
	Where *string

	CpuProfile *string

	Paths []string
}

declare the struct that holds all the arguments

func New

func New() *Arguments

func (*Arguments) Parse

func (args *Arguments) Parse(rawArgs []string, version string)

Jump to

Keyboard shortcuts

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