Skip to content

Commit

Permalink
Updated README: install, new help output
Browse files Browse the repository at this point in the history
  • Loading branch information
sedrubal committed Jan 10, 2016
1 parent 1ab8d6e commit 6a78247
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,37 @@ Usage
### detailed:

```
usage: contactparser.py [-h] [-v] [-o file] [-f {json,csv}] [--pretty]
usage: contactparser.py [-h] [-v] [-o file] [--json] [--pretty] [--csv]
[--csv-dialect {excel,excel-tab,unix}]
file [file ...]
a command line tool to convert microsofts .contact files into a csv or json
positional arguments:
file .contact files
file .contact files, - for stdin
optional arguments:
-h, --help show this help message and exit
-v, --verbose prints debug messages to stderr, -vv for more)
-o file, --output file
the output file, - for stdout
-f {json,csv}, --format {json,csv}
the output format
output: json:
--json output format is json
--pretty Make json pretty and not compact
output: csv:
--csv output format is csv
--csv-dialect {excel,excel-tab,unix}
the csv dialect
```

Requirements
------------
Install
-------

- argparse
```sh
./setup.py install
```

Contribute
----------
Expand Down

0 comments on commit 6a78247

Please sign in to comment.