Skip to content

Commit

Permalink
Merge pull request #410 from oduwsdl/issue-409
Browse files Browse the repository at this point in the history
Update CLI documentation in the README, close #409
  • Loading branch information
ibnesayeed authored Jun 29, 2018
2 parents fc9683c + 241eac3 commit 6d219f5
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,33 +160,37 @@ Usage of sub-commands in ipwb can be accessed through providing the `-h` or `--h
.. code-block:: bash
$ ipwb index -h
usage: ipwb [-h] [-e] [-c] [--compressFirst] [--debug]
usage: ipwb [-h] [-e] [-c] [--compressFirst] [-o OUTFILE] [--debug]
index <warcPath> [index <warcPath> ...]
Index a WARC file for replay in ipwb
positional arguments:
index <warcPath> Path to a WARC[.gz] file
index <warcPath> Path to a WARC[.gz] file
optional arguments:
-h, --help show this help message and exit
-e Encrypt WARC content prior to adding to IPFS
-c Compress WARC content prior to adding to IPFS
--compressFirst Compress data before encryption, where applicable
--debug Convenience flag to help with testing and debugging
-h, --help show this help message and exit
-e Encrypt WARC content prior to adding to IPFS
-c Compress WARC content prior to adding to IPFS
--compressFirst Compress data before encryption, where applicable
-o OUTFILE, --outfile OUTFILE
Path to an output CDXJ file, defaults to STDOUT
--debug Convenience flag to help with testing and debugging
.. code-block:: bash
$ ipwb replay -h
usage: ipwb replay [-h] [index]
usage: ipwb replay [-h] [-P [<host:port>]] [index]
Start the ipwb relay system
positional arguments:
index path, URI, or multihash of file to use for replay
index path, URI, or multihash of file to use for replay
optional arguments:
-h, --help show this help message and exit
-h, --help show this help message and exit
-P [<host:port>], --proxy [<host:port>]
Proxy URL
Project History
Expand Down

0 comments on commit 6d219f5

Please sign in to comment.