Documentation
¶
Overview ¶
Package subcommand defines commands in the Alma toolkit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UsageNoFlags ¶
UsageNoFlags prints the name and description of subcommand.
func ValidateSetNameAndSetIDFlags ¶
ValidateSetNameAndSetIDFlags ensures set name XOR set ID.
Types ¶
type Config ¶
type Config struct { ReadAccess []string // The API endpoints which will require read-only access. WriteAccess []string // The API endpoints which will require write access. FlagSet *flag.FlagSet // The Flag set for this subcommand. ValidateFlags func() error // A function which validates that the flagset is valid after it is parsed. Run func(context.Context, *api.Client) error // Call this function for this subcommand. }
Config stores information about subcommands.
Directories
¶
Path | Synopsis |
---|---|
bibs
|
|
cleanupcallnumbers
Package cleanupcallnumbers provides a subcommand which cleans up call numbers in holdings records.
|
Package cleanupcallnumbers provides a subcommand which cleans up call numbers in holdings records. |
items/cancelrequests
Package cancelrequests provides a subcommand which cancels the requests on items in a set.
|
Package cancelrequests provides a subcommand which cancels the requests on items in a set. |
items/requests
Package requests provides a subcommand which outputs the requests on items in a set.
|
Package requests provides a subcommand which outputs the requests on items in a set. |
items/scanin
Package scanin provides a subcommand which scans in items in a set.
|
Package scanin provides a subcommand which scans in items in a set. |
conf
|
|
dump
Package dump provides output from the API about Alma configuration.
|
Package dump provides output from the API about Alma configuration. |
Click to show internal directories.
Click to hide internal directories.