alias

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 2 Imported by: 0

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

func Ls

func Ls(path gloo.File, opts ...any) gloo.Source[[]byte]

Ls re-exports the constructor.

Types

type Fs

type Fs = command.LsFs

Fs re-exports the filesystem injector (LsFs).

Jump to

Keyboard shortcuts

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