package
3.5.4+incompatible
Repository: https://github.com/exercism/cli.git
Documentation: pkg.go.dev

# Functions

DefaultWorkspaceDir provides a sensible default for the Exercism workspace.
Dir is the configured config home directory.
InferSiteURL guesses what the website URL is.
NewConfig provides a configuration with default values.
Resolve cleans up filesystem paths.
SetDefaultDirName configures the default directory name based on the name of the binary.
SettingsURL provides a link to where the user can find their API token.

# Variables

DefaultDirName is the default name used for config and workspace directories.

# Structs

Config lets us inject configuration options into commands.
FilePersister saves viper configs to the file system.
InMemoryPersister is a noop persister for use in unit tests.

# Interfaces

Persister saves viper configs.