README upgraded

This commit is contained in:
Guillermo Bonet 2022-06-21 18:11:21 +02:00
parent d1a873ba2a
commit 559de34eba
1 changed files with 13 additions and 6 deletions

View File

@ -12,17 +12,17 @@ It's recommended to install the package globally.
```text ```text
# npm i grafana-find # npm i grafana-find
$ gafana-find <command> $ gafana-find <string>
``` ```
You can also install locally and use the *npx* command to execute it. You can also install locally and use the *npx* command to execute it.
```text ```text
$ npm install grafana-find $ npm install grafana-find
$ npx grafana-find <command> $ npx grafana-find <string>
``` ```
Create a file ".grafana-find.json" with this content: Create a file ".grafana-find.json" with this content to don't put everytime the credentials:
```text ```text
{ {
@ -31,12 +31,19 @@ Create a file ".grafana-find.json" with this content:
"password": "<pass>" "password": "<pass>"
} }
``` ```
We recommend put the file into user folder ( Windows: %HOMEPATH% || Linux: $HOME )
## How to use ## How to use
Execute *grafana-find* with the desired command. Execute *grafana-find* with the desired command.
```text ```text
$ [npx] grafana-find [-u|--user <string>] [-s|--string <string>] $ [npx] grafana-find [-h|--help] [-v|--version] <string>
[-h|--help] <command> [<args>] ```
```
## Built with
* [Git](https://git-scm.com/)
* [nodejs](https://nodejs.org/)
* [NodeGit](https://www.nodegit.org/)