Documentation
¶
Overview ¶
Package settings persists small, single-purpose CLI preferences to the user config dir (~/.config/swarmcli). Today it records only the version at which the user dismissed the startup update notice.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
// DismissedUpdateVersion is the latest-release version at which the user
// ticked "do not show again for this version" in the startup update
// notice. A different latest version re-shows the notice.
DismissedUpdateVersion string `json:"dismissedUpdateVersion,omitempty"`
}
Settings is the persisted CLI preference state.
Click to show internal directories.
Click to hide internal directories.