Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
enuesaa committed Jul 27, 2024
1 parent f21e94e commit 5a6111d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# jsonwith
Toy JSON Parser & Formatter
Toy JSON Parser & Formatter 🎨

## Install
```bash
cargo install --git https://github.com/enuesaa/jsonwith
```

## Commands
## Usage
```console
$ jsonwith --help
Toy JSON Parser & Formatter
Expand All @@ -23,7 +23,7 @@ Options:
-h, --help Print help
```

## Usage
## SubCommands
### format
```console
$ jsonwith format '{"a":"b"}'
Expand All @@ -33,7 +33,7 @@ $ jsonwith format '{"a":"b"}'
```
Also, jsonwith reads stdin as json string.
```console
$ echo '{"a":"b"}' | jsonwith format
$ cat aa.json | jsonwith format
{
"a": "b"
}
Expand All @@ -53,6 +53,6 @@ a: b
```
Also, jsonwith reads stdin as json string.
```console
$ echo '{"a":"b"}' | jsonwith json2yaml
$ cat aa.json | jsonwith json2yaml
a: b
```

0 comments on commit 5a6111d

Please sign in to comment.