Skip to content

Commit a17cbe3

Browse files
committed
remove $ from cmd
1 parent 0ad8cf4 commit a17cbe3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm install
2020
### Local Development
2121

2222
```
23-
$ npm start
23+
npm start
2424
```
2525

2626
This command starts a local development server and opens up a browser window. You can also follow `http://localhost:3000/` URL in any browser.
@@ -30,7 +30,7 @@ Most changes are reflected live reload without having to restart the server.
3030
### Build
3131

3232
```
33-
$ npm run build
33+
npm run build
3434
```
3535

3636
This command generates static content into the `build` directory and can be served using any static contents hosting service.

docs/quick-start.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Let's call an API that returns current bitcoin price in USD. Please do following
2323
- Hit enter after writing following command on terminal
2424
2525
```bash
26-
$ chk http bitcoin-usd.chk
26+
chk http bitcoin-usd.chk
2727
```
2828

2929
- You'll get output like following. Data will vary depending on the day you are doing it.
@@ -54,7 +54,7 @@ Let's call an API that returns current bitcoin price in USD. Please do following
5454
- Now If you add `--result` flag to the command: it should show you the raw result output.
5555

5656
```bash
57-
$ chk http --result bitcoin-usd.chk
57+
chk http --result bitcoin-usd.chk
5858
HTTP/1.1 200 OK
5959
Content-Type: application/json; charset=utf-8
6060
Content-Length: 510
@@ -83,14 +83,14 @@ Let's call an API that returns current bitcoin price in USD. Please do following
8383
```
8484
8585
```bash
86-
$ chk http --result bitcoin-usd.chk
86+
chk http --result bitcoin-usd.chk
8787
{'coin': {'id': 'bitcoin', 'icon': 'https://static.coinstats.app/coins/1650455588819.png', 'name': 'Bitcoin', 'symbol': 'BTC', 'rank': 1, 'price': 22981.487132414983, 'priceBtc': 1, 'volume': 17816663920.88816, 'marketCap': 439284944516.0738, 'availableSupply': 19114731, 'totalSupply': 21000000, 'priceChange1h': 0.03, 'priceChange1d': -0.9, 'priceChange1w': -3.09, 'websiteUrl': 'http://www.bitcoin.org', 'twitterUrl': 'https://twitter.com/bitcoin', 'exp': ['https://blockchair.com/bitcoin/', 'https://btc.com/', 'https://btc.tokenview.com/']}}
8888
```
8989

9090
- now we will use `jq` json parser to get price data. [jq website](https://stedolan.github.io/jq/) here.
9191

9292
```bash
93-
$ chk http --result bitcoin-usd.chk | jq '.coin.price'
93+
chk http --result bitcoin-usd.chk | jq '.coin.price'
9494
22981.487132414983 # <-- depends on the current value
9595
```
9696
---

0 commit comments

Comments
 (0)