mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 07:33:57 +08:00
CLI: Add datasource list command
Lists all the datasources for an account via the CLI
This commit is contained in:
3
main.go
3
main.go
@ -32,7 +32,8 @@ func main() {
|
||||
app.Usage = "grafana web"
|
||||
app.Version = version
|
||||
app.Commands = []cli.Command{cmd.Web, cmd.ImportJson,
|
||||
cmd.ListAccounts, cmd.CreateAccount, cmd.DeleteAccount}
|
||||
cmd.ListAccounts, cmd.CreateAccount, cmd.DeleteAccount,
|
||||
cmd.ListDataSources}
|
||||
app.Flags = append(app.Flags, []cli.Flag{}...)
|
||||
app.Run(os.Args)
|
||||
|
||||
|
Reference in New Issue
Block a user