removed cli commands, need to be mobed to a seperate binary using http api, #1570

This commit is contained in:
Torkel Ödegaard 2015-03-22 06:48:53 -04:00
parent 9bae19a7ec
commit 7d4293f849

12
main.go
View File

@ -39,17 +39,7 @@ func main() {
app.Name = "Grafana Backend"
app.Usage = "grafana web"
app.Version = version
app.Commands = []cli.Command{
cmd.ListOrgs,
cmd.CreateOrg,
cmd.DeleteOrg,
cmd.ExportDashboard,
cmd.ImportDashboard,
cmd.ListDataSources,
cmd.CreateDataSource,
cmd.DescribeDataSource,
cmd.DeleteDataSource,
cmd.Web}
app.Commands = []cli.Command{cmd.ImportDashboard, cmd.Web}
app.Flags = append(app.Flags, []cli.Flag{
cli.StringFlag{
Name: "config",