Files
aptly/cmd/repo.go
T
2014-02-20 17:04:06 +04:00

20 lines
394 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{
makeCmdRepoCreate(),
makeCmdRepoShow(),
makeCmdRepoList(),
},
Flag: *flag.NewFlagSet("aptly-repo", flag.ExitOnError),
}
}