Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConfigFileName = "kableconfig.json"
)
Variables ¶
View Source
var CacheDir string
View Source
var ConceptDir string
View Source
var ConfigPath string
View Source
var CurDir string
View Source
var RepoDir string
View Source
var RootDir string
View Source
var UserDir string
Functions ¶
func ReadConfig ¶
ReadConfig tries to read Config from either a file at the path that has been given as string argument, or, if cfgFile is an empty string, tries default locations.
Default: /etc/kable/kableconfig.json, ~/.kable/kableconfig.json, ./kableconfig.json
Types ¶
Click to show internal directories.
Click to hide internal directories.