kpflag

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterClient

func RegisterClient(g FlagGroup, f *client.Flags)

RegisterClient adds flags for creating a Paperless-ngx API client.

func RegisterPostConsume

func RegisterPostConsume(g FlagGroup, f *postconsume.Flags)

RegisterPostConsume adds flags capturing Paperless-ngx post-consumption command information.

func RegisterPreConsume

func RegisterPreConsume(g FlagGroup, f *preconsume.Flags)

RegisterPreConsume adds flags capturing Paperless-ngx pre-consumption command information.

Types

type FlagGroup

type FlagGroup interface {
	Flag(name, help string) *kingpin.FlagClause
}

Implemented by kingpin.CommandLine (an instance of kingpin.Application).

Jump to

Keyboard shortcuts

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