gb-list

command
v0.0.0-...-d160452 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

gb-list lists the packages named by the import paths, one per line.

usage: gb list [-s] [-f format] [-json] [packages]

The default output shows the package import path:

% gb list github.com/constabulary/...
github.com/constabulary/gb
github.com/constabulary/gb/cmd
github.com/constabulary/gb/cmd/gb
github.com/constabulary/gb/cmd/gb-env
github.com/constabulary/gb/cmd/gb-list

The -f flag specifies an alternate format for the list, using the syntax of package template. The default output is equivalent to -f '{{.ImportPath}}'. The struct being passed to the template is currently an instance of gb.Package. This structure is under active development and it's contents are not guarenteed to be stable.

Jump to

Keyboard shortcuts

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