cli

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Headers []string
	Lines   []Line
	Opts    FileOpts
}

func HandleFile

func HandleFile(opts FileOpts, r io.Reader) (*File, error)

type FileOpts

type FileOpts struct {
	Delimiter   rune
	ShowHeaders bool

	KeepCols []string
}

type Files

type Files []*os.File

func OpenPaths

func OpenPaths(paths []string) (Files, error)

func (Files) Close

func (fs Files) Close()

type Line

type Line []string

Jump to

Keyboard shortcuts

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