Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bundle = cli.Command{
Name: "bundle",
Usage: "downloads (if needed) and then sources a given repo",
Action: doBundle,
}
Bundle downloads (if needed) and then sources a given repo
View Source
var Home = cli.Command{ Name: "home", Aliases: []string{"prefix", "p"}, Usage: "shows the current antibody home folder", Action: func(ctx *cli.Context) { fmt.Println(antibody.Home()) }, }
Home shows current antibody home folder
View Source
var List = cli.Command{ Name: "list", Usage: "list all currently downloaded bundles", Action: func(ctx *cli.Context) { for _, b := range bundle.List(antibody.Home()) { fmt.Println(b.Name()) } }, }
List all downloaded bundles
View Source
var Update = cli.Command{ Name: "update", Usage: "updates all previously bundled commands", Action: func(ctx *cli.Context) { antibody.New(bundle.List(antibody.Home())).Update() }, }
Update all previously bundled bundles
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.