README.md in junoser-0.3.13 vs README.md in junoser-0.4.0
- old
+ new
@@ -26,38 +26,45 @@
$ gem install junoser
```
### Usage
-To verify configurations syntax:
+#### Syntax validation
```zsh
$ junoser -c config.txt
-```
-or
+# or
-```zsh
$ cat config.txt | junoser -c
```
-To translate configuration into "display set" form:
+#### Syntax translation
+##### Structured form into "display set"
+
```zsh
-$ /exe/junoser -d config.txt
+$ junoser -d config.txt
set protocols bgp group ebgp-peers neighbor 192.0.2.2
-```
-or
+# or
-```zsh
$ cat config.txt | junoser -d
set protocols bgp group ebgp-peers neighbor 192.0.2.2
```
-Use ```junoser -s``` to translate into structured form.
+##### "display set" into structured form
+```zsh
+$ junoser -s config.txt
+
+# or
+
+$ cat config.txt | junoser -s
+```
+
+
## Updating parser for new directives
From [Juniper
website](https://support.juniper.net/support/downloads/), you can
download the XSD schema for the version of JunOS you want to target:
@@ -94,6 +101,6 @@
Or send a pull request to fix.
## Copyright and License
-Copyright (c) 2020 Shintaro Kojima. Code released under the [MIT license](LICENSE.txt).
+Copyright (c) 2015-2021 Shintaro Kojima. Code released under the [MIT license](LICENSE.txt).