package
0.0.0-20240517214603-12a582f1ef68
Repository: https://github.com/edobtc/cloudkit.git
Documentation: pkg.go.dev

# Functions

Exists test if any settings file exists.
Load will load an existing settings file from the default save location.
NewSettingsWithDefaults returns a settings object with data defaults set, primarily to encapsulate defaults that can be over-ridden by those in the know via btck settings set-url --key=value.
Read will read the settings from the settings path.
Remove will completely remove a settings file.
Reset will reinitialize the settings var with the defaults, useful for debugging or completely resetting customized settings and here to be called from the cli to reset a user's workstation.
SavePath is a helper for setting up the user's home path.
Write will write a settings structure to the default file save location.

# Structs

Data is the settings entry which holds settings data, currently this is only the current JWT token for making requests.
Settings is the container for the cli settings.