Skip to content

Commit e8f32c8

Browse files
committed
📝 update readme
1 parent 2ace5a7 commit e8f32c8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ OPTIONS:
7575
[possible values: stdin, csv-file, json-file]
7676
```
7777

78-
Examples :
79-
80-
8178
# Examples
8279
## Api
8380
- [Basic example with CSV parsing](https://github.com/Julien-R44/cli-candlestick-chart/blob/main/examples/basic-with-csv-parsing.rs)
@@ -90,7 +87,7 @@ Examples :
9087

9188
## Binary
9289
- Read CSV from file :
93-
```
90+
```bash
9491
./cli-candlestick-chart \
9592
-r=csv-file \
9693
-f=./examples/BTC-USD.csv \
@@ -100,7 +97,7 @@ Examples :
10097
```
10198

10299
- Read from stdin :
103-
```
100+
```bash
104101
echo '[
105102
{
106103
"open": 28994.009766,
@@ -114,7 +111,7 @@ echo '[
114111
"low": 29091.181641,
115112
"close": 32127.267578
116113
}
117-
] | ./cli-candlestick-chart -r=stdin \
114+
]' | ./cli-candlestick-chart -r=stdin \
118115
--chart-name="My BTC Chart" \
119116
--bear-color="#b967ff" \
120117
--bull-color="ff6b99"

0 commit comments

Comments
 (0)