bundle

package
v2.3.8+incompatible Latest Latest
Warning

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

Go to latest
Published: May 4, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle interface {
	Get() (result string, err error)
}

Bundle main interface.

func New

func New(home, line string) Bundle

New bundle with at the given home (when apply) and line.

Accepted line formats:

  • Local bundle (download and update do nothing): /home/carlos/Code/my-local-bundle
  • Github repo in the owner/repo format: caarlos0/github-repo
  • Git repo in any valid URL form: https://github.com/caarlos0/other-github-repo.git
  • Any type of repo, specifying the kind of resource: caarlos0/add-to-path-style kind:path
  • Any git repo, specifying a branch: caarlos0/versioned-with-branch branch:v1.0 kind:zsh

Jump to

Keyboard shortcuts

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