alias

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Overview

Package alias provides unprefixed names for the head command flags.

import "github.com/gloo-foo/cmd-head/alias"
head.Head(head.Lines(5))
head.Head(head.Bytes(20))

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

Head re-exports the constructor.

Types

type Bytes

type Bytes = command.HeadBytes

Bytes (-c) sets the number of leading bytes to emit.

type Lines

type Lines = command.HeadLines

Lines (-n) sets the number of leading lines to emit.

Jump to

Keyboard shortcuts

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