packages:=cli.NewCommand("packages","work with packages giredore will serve").
WithShortcut("pkg").
WithCommand(
cli.NewCommand("get","gets and prints out list of packages that is served by giredore").
WithArg(cli.NewArg("pkgnames","one or more packages to get info about, delimited with comma, e.g. '/path/pkg1,/path/pkg2'. Say 'all' here to get info about all known packages.")).
cli.NewCommand("set","creates or updates package data").
WithArg(cli.NewArg("description","optional package description that will be shown on package serving page")).
WithArg(cli.NewArg("origpath","original path of package without domain, e.g. '/group/pkg' instead of 'github.com/group/pkg'")).
WithArg(cli.NewArg("realpath","real path for package sources, e.g. 'github.com/group/pkg.git'")).
WithArg(cli.NewArg("vcs","VCS used for package sources getting. See https://github.com/golang/tools/blob/master/go/vcs/vcs.go for list of supported VCS.")).