cli

package
v0.0.0-...-f73e591 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package cli implements the dumpsift command-line interface. Run is invoked in-process by tests, so every command reads/writes only through the streams it is handed.

The extract command: stream matching tables out of a dump into one sink.

Input plumbing: file/stdin selection, transparent gzip, dialect sniffing.

The schema command: report column names per table.

The split command: fan every table in a dump out to its own file.

The tables command: inventory a dump without decoding any values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) int

Run executes dumpsift with the given argv (excluding the program name) and returns the process exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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