remove

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: BSD-3-Clause Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

wof

wof remove-property

Ensure typed values for one or more Who's On First records.

$> ./bin/wof remove-property -h
Remove properties from one or more Who's On First records.
Usage:
	./bin/wof [options] path(N) path(N)
Valid options are:
  -exporter-uri string
    	A valid whosonfirst/go-whosonfirst-export/v3.Exporter URI. (default "whosonfirst://")
  -iterator-uri string
    	A valid whosonfirst/go-whosonfirst-iterate/v3.Iterator URI. (default "repo://")
  -property value
    	One or more (fully-qualified) paths for a property to remove.
  -verbose
    	Enable verbose (debug) logging
  -writer-uri string
    	A valid whosonfirst/go-writer/v3.Writer URI. (default "null://")
Examples

For example:

$> ./bin/wof remove-property \
	-property properties.media:properties.palette \
	-iterator-uri 'repo://' \
	-writer-uri repo:///usr/local/data/sfomuseum-data-media-collection \
	/usr/local/data/sfomuseum-data-media-collection	

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFlagSet

func DefaultFlagSet() *flag.FlagSet

func NewRemovePropertyCommand

func NewRemovePropertyCommand(ctx context.Context, cmd string) (wof.Command, error)

Types

type RemovePropertyCommand

type RemovePropertyCommand struct {
	wof.Command
}

func (*RemovePropertyCommand) Run

func (c *RemovePropertyCommand) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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