trailer

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Trailer = &charm.Spec{
	Name:  "trailer",
	Usage: "trailer file",
	Short: "read a Zed trailer and output it as Zed",
	Long: `
The trailer command takes a file argument
(which must be a sectioned Zed file having a Zed trailer),
extracts the trailer from the sectioned file, and outputs the trailer in any Zed format.
`,
	New: New,
}

Functions

func MibToBytes

func MibToBytes(mib float64) int

func New

func New(parent charm.Command, f *flag.FlagSet) (charm.Command, error)

Types

type Command

type Command struct {
	*dig.Command
	// contains filtered or unexported fields
}

func (*Command) Run

func (c *Command) Run(args []string) error

Jump to

Keyboard shortcuts

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