cli

package
v0.4.31 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIsDirectory = errors.New("is a directory")

Functions

func ReformatCommand

func ReformatCommand(ctx context.Context, cmd *cli.Command) error

ReformatCommand provides psv as a command line filter.

Typically, no additional arguments are required and the input will be reformatted as a 'clean' psv table and output to stdout.

func ReformatFromStream

func ReformatFromStream(ctx context.Context, doc *psv.Document, r io.Reader, w io.Writer) error

func Run

func Run(args []string) error

func ShowHelpAndExit added in v0.4.29

func ShowHelpAndExit(ctx context.Context, cmd *cli.Command) error

func ShowUsageAndExit added in v0.4.30

func ShowUsageAndExit(ctx context.Context, cmd *cli.Command) error

func ShowVersion

func ShowVersion()

func StartEditor

func StartEditor(ctx context.Context, cmd *cli.Command) error

func StartServer

func StartServer(ctx context.Context, cmd *cli.Command) error

StartServer starts the psv web server and opens

func StartTour

func StartTour(ctx context.Context, cmd *cli.Command) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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