Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ugol authored Jun 24, 2023
1 parent 2c661b7 commit db65366
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ JR is very straightforward to use. Here are some examples:
```bash
jr template list
````
Templates are in the directory `$HOME/.jr/templates`. You can override with the ```--templatePath``` command flag
Templates are in the directory `$JR_HOME/templates`. JR_HOME defaults to `~/.jr` and can be changed to a different dir, for example:

```bash
JR_HOME=~/jrconfig/ jr template list
````
Templates with parsing issues are showed in <font color='red'>red</font>, Templates with no parsing issues are showed in <font color='green'>green</font>
### Create random data from one of the provided templates
Expand Down Expand Up @@ -79,7 +84,7 @@ docker run -it ugol/jr:latest jr run net_device
If you want to use your own template, you can:
- put it in the default directory
- put it in the templates directory
- embed it directly in the command using the `--embedded` flag
For a quick and dirty test, the best option is to embed directly a template in the command:
Expand Down

0 comments on commit db65366

Please sign in to comment.