Docs: Update cli.md (#21470)

* Update cli.md

* update links

Co-authored-by: Robby Milo <robbymilo@gmail.com>
This commit is contained in:
Diana Payton
2020-01-13 07:38:52 -08:00
committed by GitHub
co-authored by Robby Milo
parent 891b84e986
commit 108039af33
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -130,7 +130,7 @@ grafana-cli admin reset-admin-password --homepath "c:\Program Files\grafana" myn
### Override config file
`--config value` overrides the default location where Grafana expects the configuration file. Refer to [Configuration]({{< relref "..\installation\configuration.md" >}}) for more information about configuring Grafana and default configuration file locations.
`--config value` overrides the default location where Grafana expects the configuration file. Refer to [Configuration]({{< relref "../installation/configuration.md" >}}) for more information about configuring Grafana and default configuration file locations.
**Example:**
```bash
@@ -139,7 +139,7 @@ grafana-cli admin reset-admin-password --config "/etc/configuration/" mynewpassw
## Plugins commands
Grafana CLI allows you to install, upgrade, and manage your Grafana plugins. For more information about installing plugins, refer to [plugins page]({{< relref "..\plugins\installation.md" >}}).
Grafana CLI allows you to install, upgrade, and manage your Grafana plugins. For more information about installing plugins, refer to [plugins page]({{< relref "../plugins/installation.md" >}}).
All listed commands apply to the Grafana default repositories and directories. You can override the defaults with [Global Options](#global-options).
@@ -210,8 +210,8 @@ grafana-cli --homepath "/usr/share/grafana" admin reset-admin-password <new pass
If you have not lost the admin password, we recommend that you change the user password either in the User Preferences or in the Server Admin > User tab.
If you need to set the password in a script, then you can use the [Grafana User API]({{{< relref "..\http_api\user.md#change-password).
">}}}
If you need to set the password in a script, then you can use the [Grafana User API]({{< relref "../http_api/user.md#change-password" >}}).
### Migrate data and encrypt passwords
`data-migration` runs a script that migrates or cleans up data in your database.