cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 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, file *os.File) (*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