Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
toshitanian committed Apr 6, 2017
1 parent 5bb6c34 commit a817786
Showing 1 changed file with 30 additions and 21 deletions.
51 changes: 30 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,44 @@

Expanded cat tool especially for Excel

This project is on WIP.
# How to use

# Description
`xcat` is tool to show excel and csv file simultaneously on command line interface.
``` bash
xcat 0.1.0
Toshiya. K. <kawasakitoshiya@gmail.com>
Expanded cat tool especially for Excel

``` abap
$ xcat price_list.xlsx
#,name,price
1,pencil,110
2,pen,150
3,apple,200
4,banana,100
USAGE:
xcat [OPTIONS] <file>

$ xcat price_list.csv
1,pencil,110
2,pen,150
3,apple,200
4,banana,100
FLAGS:
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-d, --delimiter <DELIMITER> Delimiter for csv file

ARGS:
<file>... Input files to use

```

# To be implemented...
# Description
`xcat` is tool to show excel and csv file simultaneously on command line interface.

``` bash
$ xcat data.xlsx data.csv
1,excel_row_1
2,excel_row_1
1,csv_row_2
2,csv_row_2
```
$ xcat a.xlsx b.csv
1, excel_row_1
2, excel_row_1
1, csv_row_2
2, csv_row_2

*Change delimiter*
``` bash
$ xcat -d"|" data.xlsx data.csv
1|excel_row_1
2|excel_row_1
1|csv_row_2
2|csv_row_2
```

0 comments on commit a817786

Please sign in to comment.