alias

package
v0.1.15 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 re-exports for the yes command.

import yes "github.com/gloo-foo/cmd-yes/alias"
yes.Yes(yes.Text("hello"), yes.Count(3))

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Yes

func Yes(opts ...any) gloo.Source[[]byte]

Yes re-exports the constructor.

Types

type Count

type Count = command.YesCount

Count limits the number of repetitions (0 = forever).

type Text

type Text = command.YesText

Text sets the operand to repeat (default "y").

Jump to

Keyboard shortcuts

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