Showing 1 changed files with 17 additions and 98 deletions
+17 -98
README.md
... ...
@@ -19,107 +19,26 @@ Here are the SHA-256 checksums for the binaries:
19 19
 
20 20
 ### Usage
21 21
 
22
-You execute the program from a command line shell and prove at least the input file and the output file name.
23
-Please see below for a list of command line options.
24
-
25
-### Command line options
26
-
27
-```
28
-  -?	display usage information
29
-  -abortonerror
30
-    	abort program on first invalid cell data type
31
-  -autoformula
32
-        use value starting with an "=" as formula (default False) and do not
33
-        use the column datatype specified
34
-  -colsep string
35
-    	column separator (default '|')  (default "|")
36
-  -columns string
37
-    	column range to use (see below)
38
-  -dateformat string
39
-    	format for CSV date cells (default YYYY-MM-DD) (default "2006-01-02")
40
-  -encoding
41
-      encoding string to use for the CSV file, case-insensitive (defaults to "utf-8")
42
-  -exceldateformat string
43
-    	Excel format for date cells (default as in Excel)
44
-  -filemask
45
-        bulk mode, specify a file mask here (e.g. "/use/docs/datalib/2018*.csv")
46
-        make sure to quote the filespace to prevent shell globbing
47
-        output files will have the same name as input file with a .xslx extension
48
-        will override any --infile or --outfile options)
49
-  -headerlines
50
-        specify number of header lines in the CSV file (default is 1, use 0 fpr no header)
51
-  -h	
52
-  -help
53
-    	display usage information
54
-  -infile string
55
-    	full pathname of input file (CSV file)
56
-  -outfile string
57
-    	full pathname of output file (.xlsx file)
58
-  -outdir 
59
-        path to a target directory for the xlsx files (must exist and be writable)  
60
-        must not be used with --outfile
61
-  -rows string
62
-    	list of line numbers to use (1,2,8 or 1,3-14,28)
63
-  -sheet string
64
-    	tab name of the Excel sheet (default "fromCSV")
65
-  -silent
66
-    	do not display progress messages
67
-  -noheader
68
-    	do not use the first line as header (DEPRECATED, use headerlines option instaead)
69
-
70
-        Column ranges are a comma-separated list of numbers (e.g. 1,4,8,16), intervals (e.g. 0-4,18-32) or a combination.
71
-        Each comma group can take a type specifiers for the column,
72
-        one of "text", "number", "integer", "currency", date", "standard", "formula"
73
-        separated from numbers with a colon (e.g. 0:text,3-16:number,17:date)
74
-```
22
+You execute the program from the command prompt of your operating system.
23
+
24
+Ths most basic use case is `csv2xlsx -infile test.csv -outfile result.xlsx`, where you
25
+take an input CSV file in UTF-8 and write out the .xslx file under a new file name.
26
+
27
+To list all available options start `csv2xlsx` with the option `--help`.
75 28
 
76 29
 ### Supported encodings
77 30
 
78
- * Codepage037
79
- * Codepage437
80
- * Codepage850
81
- * Codepage852
82
- * Codepage855
83
- * Codepage858
84
- * Codepage860
85
- * Codepage862
86
- * Codepage863
87
- * Codepage865
88
- * Codepage866
89
- * Codepage1047
90
- * Codepage1140
91
- * ISO8859_1
92
- * ISO8859_2
93
- * ISO8859_3
94
- * ISO8859_4
95
- * ISO8859_5
96
- * ISO8859_6
97
- * ISO8859_6E
98
- * ISO8859_6I
99
- * ISO8859_7
100
- * ISO8859_8
101
- * ISO8859_8E
102
- * ISO8859_8I
103
- * ISO8859_9
104
- * ISO8859_10
105
- * ISO8859_13
106
- * ISO8859_14
107
- * ISO8859_15
108
- * ISO8859_16
109
- * Koi8r
110
- * Koi8u
111
- * Macintosh
112
- * MacintoshCyrillic
113
- * Windows874
114
- * Windows1250
115
- * Windows1251
116
- * Windows1252
117
- * Windows1253
118
- * Windows1254
119
- * Windows1255
120
- * Windows1256
121
- * Windows1257
122
- * Windows1258
31
+    Codepage037      Codepage437      Codepage850      Codepage852      Codepage855      
32
+    Codepage858      Codepage860      Codepage862      Codepage863      Codepage865
33
+    Codepage866      Codepage1047     Codepage1140      
34
+    ISO8859_1        ISO8859_2        ISO8859_3        ISO8859_4        ISO8859_5
35
+    ISO8859_6        ISO8859_6E       ISO8859_6I       ISO8859_7        ISO8859_8
36
+    ISO8859_8E       ISO8859_8I       ISO8859_9        ISO8859_10       ISO8859_13
37
+    ISO8859_14       ISO8859_15       ISO8859_16      
38
+    Koi8r            Koi8u      
39
+    Macintosh        MacintoshCyrillic      
40
+    Windows874       Windows1250      Windows1251      Windows1252      Windows1253      
41
+    Windows1254      Windows1255      Windows1256      Windows1257      Windows1258      
123 42
 
124 43
 
125 44
 ### Source