cmd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package cmd provides command-line interface for pgcopy

Package cmd provides command-line interface for pgcopy

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type ShutdownInfo added in v0.7.0

type ShutdownInfo interface {
	// HasVitalOperations returns true if there are operations that need graceful completion
	// (e.g., FK restoration after copy has started).
	HasVitalOperations() bool
}

ShutdownInfo provides context for graceful shutdown decisions.

type TableSummary

type TableSummary struct {
	Schema   string
	Name     string
	RowCount int64
	Size     string
}

TableSummary represents information about a database table including schema, name, row count and size

Jump to

Keyboard shortcuts

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