Add first /repos/ API, command api serve. #116

This commit is contained in:
Andrey Smirnov
2014-10-08 16:19:15 +04:00
parent ac983ff65d
commit 10056b8571
8 changed files with 287 additions and 2 deletions

15
cmd/api.go Normal file
View File

@@ -0,0 +1,15 @@
package cmd
import (
"github.com/smira/commander"
)
func makeCmdAPI() *commander.Command {
return &commander.Command{
UsageLine: "api",
Short: "start API server/issue requests",
Subcommands: []*commander.Command{
makeCmdAPIServe(),
},
}
}