alias

package
v0.1.13 Latest Latest
Warning

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

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

Documentation

Overview

Package alias provides unprefixed type aliases for wc command flags.

import wc "github.com/gloo-foo/cmd-wc/alias"
wc.Wc(wc.Lines)

Index

Constants

View Source
const Bytes = command.WcBytes

-c flag: count bytes

View Source
const Chars = command.WcChars

-m flag: count characters (runes)

View Source
const Lines = command.WcLines

-l flag: count lines

View Source
const MaxLineLength = command.WcMaxLineLength

-L flag: report the maximum line length

View Source
const NoBytes = command.WcNoBytes

default: don't count bytes

View Source
const NoChars = command.WcNoChars

default: don't count characters

View Source
const NoLines = command.WcNoLines

default: don't count lines

View Source
const NoMaxLineLength = command.WcNoMaxLineLength

default: don't report the maximum line length

View Source
const NoWords = command.WcNoWords

default: don't count words

View Source
const Words = command.WcWords

-w flag: count words

Variables

This section is empty.

Functions

func Wc

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

Wc re-exports the constructor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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