draftpath

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2018 License: MIT Imports: 1 Imported by: 60

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Home

type Home string

Home describes the location of a CLI configuration.

This helper builds paths relative to a Draft Home directory.

func (Home) Config added in v0.12.0

func (h Home) Config() string

Config returns the path to the Draft config file.

func (Home) Logs added in v0.12.0

func (h Home) Logs() string

Logs returns the path to the Draft logs.

func (Home) Packs

func (h Home) Packs() string

Packs returns the path to the Draft starter packs.

func (Home) Path added in v0.6.0

func (h Home) Path(elem ...string) string

Path returns Home with elements appended.

func (Home) Plugins

func (h Home) Plugins() string

Plugins returns the path to the Draft plugins.

func (Home) String

func (h Home) String() string

String returns Home as a string.

Implements fmt.Stringer.

Jump to

Keyboard shortcuts

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