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
-f flag specifies an alternate format for the list, using the syntax of package template. The default output is equivalent to
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.