Files
aptly/cmd/repo.go
T
2014-02-27 16:14:54 +04:00

23 lines
461 B
Go

package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
)
func makeCmdRepo() *commander.Command {
return &commander.Command{
UsageLine: "repo",
Short: "manage local package repositories",
Subcommands: []*commander.Command{
makeCmdRepoAdd(),
makeCmdRepoCreate(),
makeCmdRepoDrop(),
makeCmdRepoList(),
makeCmdRepoRemove(),
makeCmdRepoShow(),
},
Flag: *flag.NewFlagSet("aptly-repo", flag.ExitOnError),
}
}