cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root() *cobra.Command

Root returns the root cobra command.

Types

type Config

type Config struct {
	All         bool
	AlmostAll   bool
	Long        bool
	Human       bool
	One         bool
	Recursive   bool
	Reverse     bool
	SortTime    bool
	SortSize    bool
	SortExt     bool
	Unsorted    bool
	Directory   bool
	Classify    bool
	DirSlash    bool
	IgnoreBack  bool
	Dereference bool
	Commas      bool
	QuoteName   bool
	FullTime    bool
	DirsFirst   bool
	Inode       bool
	Blocks      bool
	SortAccess  bool
	SortChange  bool
	NoIcons     bool
	NoColor     bool
	JSON        bool
	Precise     bool
	Paths       []string
}

Config holds parsed CLI flags.

Jump to

Keyboard shortcuts

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