Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultBaseURL is the production API root. Every endpoint hangs off this.
DefaultBaseURL = "https://api.tabstack.ai/v1"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
ConfigPath returns the path we read the config file from and write it to.
func Save ¶
Save writes the API key (and base URL if non-default) to the config file with 0600 permissions. It creates the parent directory as needed.
func SchemasDir ¶ added in v1.0.1
SchemasDir returns the default directory pre-defined schemas are pulled into (`schema pull`). It sits alongside the config file under the tabstack config home. The `--storage` flag overrides it per invocation.
Types ¶
Click to show internal directories.
Click to hide internal directories.