Documentation
¶
Overview ¶
Package alias provides unprefixed type aliases for ls command flags.
import ls "github.com/gloo-foo/cmd-ls/alias"
ls.Ls("/dir", ls.All, ls.LongFormat)
Index ¶
Constants ¶
View Source
const All = command.LsAll
-a flag: show hidden files (entries starting with ".")
View Source
const LongFormat = command.LsLongFormat
-l flag: long format ("<perm> <size> <name>" per entry)
View Source
const NoAll = command.LsNoAll
default: hide hidden files
View Source
const NoLongFormat = command.LsNoLongFormat
default: names only
View Source
const NoRecursive = command.LsNoRecursive
default: non-recursive listing
View Source
const Recursive = command.LsRecursive
-R flag: recursive listing
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.