Commit 9223c954 by Jason Wilder

CLI: Order commands alphabetically

parent a3925e8a
......@@ -31,9 +31,11 @@ func main() {
app.Name = "Grafana Backend"
app.Usage = "grafana web"
app.Version = version
app.Commands = []cli.Command{cmd.Web, cmd.ImportJson,
app.Commands = []cli.Command{
cmd.ListAccounts, cmd.CreateAccount, cmd.DeleteAccount,
cmd.ListDataSources, cmd.CreateDataSource, cmd.DescribeDataSource, cmd.DeleteDataSource}
cmd.ImportDashboard,
cmd.ListDataSources, cmd.CreateDataSource, cmd.DescribeDataSource, cmd.DeleteDataSource,
cmd.Web}
app.Flags = append(app.Flags, []cli.Flag{
cli.StringFlag{
Name: "config",
......
......@@ -14,7 +14,7 @@ import (
"github.com/grafana/grafana/pkg/setting"
)
var ImportJson = cli.Command{
var ImportDashboard = cli.Command{
Name: "dashboard:import",
Usage: "imports dashboards in JSON from a directory",
Description: "Starts Grafana import process",
......
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