Skip to content

Commit

Permalink
Added installation and usage notes to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paulvollmer committed Sep 17, 2018
1 parent 3470aec commit 64ad6f1
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
# htmltable2csv
# htmltable2csv

## Introduction
`htmltable2csv` is a tool to parse a html table and store the data as csv. It can be written to a file or print out to `stdout`.

## Installation
##### Manually
Download your preferred flavor from the [releases page](https://github.com/paulvollmer/htmltable2csv/releases) and install manually.

##### Using go get
```
go get -u github.com/paulvollmer/htmltable2csv
```

## Usage
```
Usage: htmltable2csv [flags]
Flags:
-csv string
The csv filename. if empty, print csv to stdout
-selector string
The table css selector
-url string
The website url
-v Print the version and exit
Examples:
htmltable2csv -url 'https://www.w3schools.com/html/html_tables.asp' -selector '#customers > tbody > tr' -csv data.csv
```

## License
[MIT license](LICENSE)

0 comments on commit 64ad6f1

Please sign in to comment.