Command aptly repo create.

This commit is contained in:
Andrey Smirnov
2014-02-20 12:01:41 +04:00
parent 8df4378f4c
commit 63cd4a80bb
12 changed files with 118 additions and 4 deletions
+17
View File
@@ -0,0 +1,17 @@
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(),
},
Flag: *flag.NewFlagSet("aptly-repo", flag.ExitOnError),
}
}