config

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2019 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SourceDir = dir
)

Functions

func Clear

func Clear() error

Clear removes the existing tldr directory. TODO: maybe require user to confirm

func DataDir

func DataDir() (d string)

DataDir returns OS dependent data dir. see XDG Base Directory Specification: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

func OSName

func OSName() (n string)

OSName is the running program's operating system

func PrintLogo()

func PullSource

func PullSource() error

Pulls the github.com/tldr-pages/tldr repository

func StartUp

func StartUp(clear, update bool) error

StartUp

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL