Commit 7d4293f8 by Torkel Ödegaard

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

parent 9bae19a7
...@@ -39,17 +39,7 @@ func main() { ...@@ -39,17 +39,7 @@ func main() {
app.Name = "Grafana Backend" app.Name = "Grafana Backend"
app.Usage = "grafana web" app.Usage = "grafana web"
app.Version = version app.Version = version
app.Commands = []cli.Command{ app.Commands = []cli.Command{cmd.ImportDashboard, cmd.Web}
cmd.ListOrgs,
cmd.CreateOrg,
cmd.DeleteOrg,
cmd.ExportDashboard,
cmd.ImportDashboard,
cmd.ListDataSources,
cmd.CreateDataSource,
cmd.DescribeDataSource,
cmd.DeleteDataSource,
cmd.Web}
app.Flags = append(app.Flags, []cli.Flag{ app.Flags = append(app.Flags, []cli.Flag{
cli.StringFlag{ cli.StringFlag{
Name: "config", Name: "config",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment