Skip to content

Commit

Permalink
Improved "Command line utility" section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Oct 3, 2015
1 parent b3ec406 commit cc69cec
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,18 @@ Command line utility
netjsonconfig ships a command line utility that can be
used from the interactive shell or in bash scripts::

netjsonconfig --help
netjsonconfig --help

A few common use scenarios:
A few common use scenarios::

# generate tar.gz from a NetJSON DeviceConfiguration object
netjsonconfig config.json
# generate tar.gz from a NetJSON DeviceConfiguration object
netjsonconfig --backend openwrt config.json

# see output of render OpenWrt render method
netjsonconfig --backend openwrt --method render config.json
# see output of OpenWrt render method
netjsonconfig --backend openwrt --method render config.json
# abbreviated options
netjsonconfig -b openwrt -m render config.json

Running tests
-------------
Expand Down

0 comments on commit cc69cec

Please sign in to comment.