cli

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "pbf",
	Short: "An OpenStreetMap data utility",
	Long:  `An OpenStreetMap data utility`,
}

RootCmd is the root cobra command for pbf.

Functions

func NewReaderValue

func NewReaderValue(def *os.File, p **os.File, typename string) pflag.Value

NewReaderValue creates an cobra Value object for an *os.File.

func WrapInputFile

func WrapInputFile(f *os.File) (io.ReadCloser, error)

WrapInputFile creates an instance of os.File with an associated ProgressBar that tracks the bytes read relative to the total.

Types

This section is empty.

Jump to

Keyboard shortcuts

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