alias

package
v0.1.16 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 type aliases for tail command flags.

import "github.com/gloo-foo/cmd-tail/alias"
tail.Tail(alias.Lines(5))

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tail

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

Tail returns a Command that outputs a trailing slice of its input.

Types

type Bytes

type Bytes = command.TailBytes

Bytes sets the number of trailing bytes to output (-c flag).

type FromLine

type FromLine = command.TailFromLine

FromLine outputs every line from line N onward (-n +N flag).

type Lines

type Lines = command.TailLines

Lines sets the number of trailing lines to output (-n flag).

Jump to

Keyboard shortcuts

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