mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
removed cli commands, need to be mobed to a seperate binary using http api, #1570
This commit is contained in:
parent
9bae19a7ec
commit
7d4293f849
12
main.go
12
main.go
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user