CLI: Add command to migrate all datasources to use encrypted password fields (#17118)

closes: #17107
This commit is contained in:
Andrej Ocenas
2019-05-27 10:47:21 +02:00
committed by Carl Bergquist
parent b9181df212
commit 151b24b95f
14 changed files with 266 additions and 25 deletions

View File

@@ -3,9 +3,10 @@ package commands
import (
"github.com/grafana/grafana/pkg/cmd/grafana-cli/logger"
s "github.com/grafana/grafana/pkg/cmd/grafana-cli/services"
"github.com/grafana/grafana/pkg/cmd/grafana-cli/utils"
)
func listremoteCommand(c CommandLine) error {
func listremoteCommand(c utils.CommandLine) error {
plugin, err := s.ListAllPlugins(c.RepoDirectory())
if err != nil {