cmd

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidShell = errors.New("invalid shell")
View Source
var ErrStdinInplace = errors.New("-i or --inplace may not be used with stdin")

Functions

func New added in v0.6.0

func New(opts ...Option) *cobra.Command

Types

type Option added in v0.8.0

type Option func(cmd *cobra.Command)

func WithVersion added in v0.8.0

func WithVersion(version string) Option

Jump to

Keyboard shortcuts

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