alias

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package alias provides unprefixed names for cat command flags.

import cat "github.com/gloo-foo/cmd-cat/alias"
cat.Cat(cat.NumberLines)

Index

Constants

View Source
const NoNumberLines = command.CatNoNumberLines

default: don't number lines

View Source
const NoNumberNonBlank = command.CatNoNumberNonBlank

default: don't number non-blank lines

View Source
const NumberLines = command.CatNumberLines

-n flag: number all lines

View Source
const NumberNonBlank = command.CatNumberNonBlank

-b flag: number non-blank lines only

Variables

This section is empty.

Functions

func Cat

func Cat(opts ...any) gloo.Command[[]byte, []byte]

Cat concatenates input to output with optional line numbering; see the command package for the flag set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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