Skip to content

Commit

Permalink
improved visibility of shell examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Kowallik committed Feb 22, 2024
1 parent 6ced3d1 commit 4aaebf6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ This project is (supposed to be) a minimal wrapper and vendors the necessary cod
## Usage example

```shell
$ npm install -g https://github.com/simonkowallik/tmconfjs
npm install -g https://github.com/simonkowallik/tmconfjs
```

```shell
$ tmconfparse example/test.tmconf 2>/dev/null | jq '."ltm profile client-ssl clientssl-secure"'
tmconfparse example/test.tmconf 2>/dev/null \
| jq '."ltm profile client-ssl clientssl-secure"'
```

```json
Expand Down Expand Up @@ -42,8 +43,10 @@ Any errors or info is written to `STDERR`.

```shell
# run node and tmconfparse.js as first argument followed by tmconfparse arguments.
$ node ./tmconfparse.js example/test.tmconf >/dev/null
Debugger attached.
node ./tmconfparse.js example/test.tmconf >/dev/null
```

```shell
2024-02-17 00:29:17 WARN UNRECOGNIZED LINE: ' auto-check enabled'
2024-02-17 00:29:17 WARN UNRECOGNIZED LINE: ' auto-phonehome enabled'
2024-02-17 00:29:17 WARN UNRECOGNIZED LINE: ' time 500'
Expand Down

0 comments on commit 4aaebf6

Please sign in to comment.