Skip to content

Commit 8c54b65

Browse files
committed
prep for v0.0.25 release
1 parent d476d76 commit 8c54b65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+860
-799
lines changed

cmd/json2toml/json2toml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func main() {
9595
// Add Help Docs
9696
app.AddHelp("license", []byte(fmt.Sprintf(datatools.LicenseText, appName, datatools.Version)))
9797
app.AddHelp("description", []byte(fmt.Sprintf(description, appName)))
98-
app.AddHelp("examples", []byte(fmt.Sprintf(examples, appName)))
98+
app.AddHelp("examples", []byte(fmt.Sprintf(examples, appName, appName, appName)))
9999

100100
// Document non-option parameters
101101
app.SetParams("[JSON_FILENAME]", "[TOML_FILENAME]")

cmd/json2yaml/json2yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func main() {
8989
// Add Help Docs
9090
app.AddHelp("license", []byte(fmt.Sprintf(datatools.LicenseText, appName, datatools.Version)))
9191
app.AddHelp("description", []byte(fmt.Sprintf(description, appName)))
92-
app.AddHelp("examples", []byte(fmt.Sprintf(examples, appName)))
92+
app.AddHelp("examples", []byte(fmt.Sprintf(examples, appName, appName, appName)))
9393

9494
// Document non-option parameters
9595
app.SetParams("[JSON_FILENAME]", "[YAML_FILENAME]")

docs/csv2json/index.html

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,31 @@ <h1>USAGE</h1>
2828
<pre><code>csv2json [OPTIONS]
2929
</code></pre>
3030

31-
<h2>SYNOPSIS</h2>
31+
<h2>DESCRIPTION</h2>
3232

3333
<p>csv2json reads CSV from stdin and writes a JSON to stdout. JSON output
3434
can be either an array of JSON blobs or one JSON blob (row as object)
3535
per line.</p>
3636

3737
<h2>OPTIONS</h2>
3838

39-
<pre><code> -as-blobs output as one JSON blob per line
40-
-d, -delimiter set the delimter character
41-
-examples display example(s)
42-
-generate-markdown-docs generation markdown documentation
43-
-h, -help display help
44-
-i, -input input filename
45-
-l, -license display license
46-
-nl, -newline include trailing newline in output
47-
-o, -output output filename
48-
-quiet suppress error output
49-
-trim-leading-space trim leading space in fields for CSV input
50-
-use-header treat the first row as field names
51-
-use-lazy-quotes use lazy quotes for for CSV input
52-
-v, -version display version
39+
<p>Below are a set of options available.</p>
40+
41+
<pre><code> -as-blobs output as one JSON blob per line
42+
-d, -delimiter set the delimter character
43+
-examples display example(s)
44+
-generate-manpage generation man page
45+
-generate-markdown generation markdown documentation
46+
-h, -help display help
47+
-i, -input input filename
48+
-l, -license display license
49+
-nl, -newline include trailing newline in output
50+
-o, -output output filename
51+
-quiet suppress error output
52+
-trim-leading-space trim leading space in fields for CSV input
53+
-use-header treat the first row as field names
54+
-use-lazy-quotes use lazy quotes for for CSV input
55+
-v, -version display version
5356
</code></pre>
5457

5558
<h2>EXAMPLES</h2>
@@ -64,7 +67,7 @@ <h2>EXAMPLES</h2>
6467
<pre><code>csv2json -as-blobs -i data1.csv
6568
</code></pre>
6669

67-
<p>csv2json v0.0.24-pre</p>
70+
<p>csv2json v0.0.25</p>
6871

6972
</section>
7073

docs/csv2json/index.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
csv2json [OPTIONS]
55

6-
## SYNOPSIS
6+
## DESCRIPTION
77

88

99
csv2json reads CSV from stdin and writes a JSON to stdout. JSON output
@@ -13,21 +13,24 @@ per line.
1313

1414
## OPTIONS
1515

16+
Below are a set of options available.
17+
1618
```
17-
-as-blobs output as one JSON blob per line
18-
-d, -delimiter set the delimter character
19-
-examples display example(s)
20-
-generate-markdown-docs generation markdown documentation
21-
-h, -help display help
22-
-i, -input input filename
23-
-l, -license display license
24-
-nl, -newline include trailing newline in output
25-
-o, -output output filename
26-
-quiet suppress error output
27-
-trim-leading-space trim leading space in fields for CSV input
28-
-use-header treat the first row as field names
29-
-use-lazy-quotes use lazy quotes for for CSV input
30-
-v, -version display version
19+
-as-blobs output as one JSON blob per line
20+
-d, -delimiter set the delimter character
21+
-examples display example(s)
22+
-generate-manpage generation man page
23+
-generate-markdown generation markdown documentation
24+
-h, -help display help
25+
-i, -input input filename
26+
-l, -license display license
27+
-nl, -newline include trailing newline in output
28+
-o, -output output filename
29+
-quiet suppress error output
30+
-trim-leading-space trim leading space in fields for CSV input
31+
-use-header treat the first row as field names
32+
-use-lazy-quotes use lazy quotes for for CSV input
33+
-v, -version display version
3134
```
3235

3336

@@ -43,4 +46,4 @@ Convert data1.csv to JSON blobs, one line per blob
4346
csv2json -as-blobs -i data1.csv
4447

4548

46-
csv2json v0.0.24-pre
49+
csv2json v0.0.25

docs/csv2mdtable/index.html

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,28 @@ <h1>USAGE</h1>
2828
<pre><code>csv2mdtable [OPTIONS]
2929
</code></pre>
3030

31-
<h2>SYNOPSIS</h2>
31+
<h2>DESCRIPTION</h2>
3232

3333
<p>csv2mdtable reads CSV from stdin and writes a Github Flavored Markdown
3434
table to stdout.</p>
3535

3636
<h2>OPTIONS</h2>
3737

38-
<pre><code> -d, -delimiter set delimiter character
39-
-examples display example(s)
40-
-generate-markdown-docs generate markdown documentation
41-
-h, -help display help
42-
-i, -input input filename
43-
-l, -license display license
44-
-nl, -newline if true include leading/trailing newline
45-
-o, -output output filename
46-
-quiet suppress error message
47-
-trim-leading-space trim leading space in field(s) for CSV input
48-
-use-lazy-quotes using lazy quotes for CSV input
49-
-v, -version display version
38+
<p>Below are a set of options available.</p>
39+
40+
<pre><code> -d, -delimiter set delimiter character
41+
-examples display example(s)
42+
-generate-manpage generate man page
43+
-generate-markdown generate markdown documentation
44+
-h, -help display help
45+
-i, -input input filename
46+
-l, -license display license
47+
-nl, -newline if true include leading/trailing newline
48+
-o, -output output filename
49+
-quiet suppress error message
50+
-trim-leading-space trim leading space in field(s) for CSV input
51+
-use-lazy-quotes using lazy quotes for CSV input
52+
-v, -version display version
5053
</code></pre>
5154

5255
<h2>EXAMPLES</h2>
@@ -61,7 +64,7 @@ <h2>EXAMPLES</h2>
6164
<pre><code>csv2mdtable -i data1.csv -o data1.md
6265
</code></pre>
6366

64-
<p>csv2mdtable v0.0.24-pre</p>
67+
<p>csv2mdtable v0.0.25</p>
6568

6669
</section>
6770

docs/csv2mdtable/index.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
csv2mdtable [OPTIONS]
55

6-
## SYNOPSIS
6+
## DESCRIPTION
77

88

99
csv2mdtable reads CSV from stdin and writes a Github Flavored Markdown
@@ -12,19 +12,22 @@ table to stdout.
1212

1313
## OPTIONS
1414

15+
Below are a set of options available.
16+
1517
```
16-
-d, -delimiter set delimiter character
17-
-examples display example(s)
18-
-generate-markdown-docs generate markdown documentation
19-
-h, -help display help
20-
-i, -input input filename
21-
-l, -license display license
22-
-nl, -newline if true include leading/trailing newline
23-
-o, -output output filename
24-
-quiet suppress error message
25-
-trim-leading-space trim leading space in field(s) for CSV input
26-
-use-lazy-quotes using lazy quotes for CSV input
27-
-v, -version display version
18+
-d, -delimiter set delimiter character
19+
-examples display example(s)
20+
-generate-manpage generate man page
21+
-generate-markdown generate markdown documentation
22+
-h, -help display help
23+
-i, -input input filename
24+
-l, -license display license
25+
-nl, -newline if true include leading/trailing newline
26+
-o, -output output filename
27+
-quiet suppress error message
28+
-trim-leading-space trim leading space in field(s) for CSV input
29+
-use-lazy-quotes using lazy quotes for CSV input
30+
-v, -version display version
2831
```
2932

3033

@@ -40,4 +43,4 @@ Convert data1.csv to data1.md using options.
4043
csv2mdtable -i data1.csv -o data1.md
4144

4245

43-
csv2mdtable v0.0.24-pre
46+
csv2mdtable v0.0.25

docs/csv2xlsx/index.html

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,29 @@ <h1>USAGE</h1>
2828
<pre><code>csv2xlsx [OPTIONS] WORKBOOK_NAME SHEET_NAME
2929
</code></pre>
3030

31-
<h2>SYNOPSIS</h2>
31+
<h2>DESCRIPTION</h2>
3232

3333
<p>csv2xlsx will take CSV input and create a new sheet in an Excel Workbook.
3434
If the Workbook does not exist then it is created.</p>
3535

3636
<h2>OPTIONS</h2>
3737

38-
<pre><code> -d, -delimiter set delimiter character (input)
39-
-examples display example(s)
40-
-generate-markdown-docs generate markdown documentation
41-
-h, -help display help
42-
-i, -input input filename (CSV content)
43-
-l, -license display license
44-
-o, -output output filename
45-
-quiet suppress error messages
46-
-sheet Sheet name to create/replace
47-
-trim-leading-space trim leading space in field(s) for CSV input
48-
-use-lazy-quotes use lazy quotes for CSV input
49-
-v, -version display version
50-
-workbook Workbook name
38+
<p>Below are a set of options available.</p>
39+
40+
<pre><code> -d, -delimiter set delimiter character (input)
41+
-examples display example(s)
42+
-generate-manpage generate man page
43+
-generate-markdown generate markdown documentation
44+
-h, -help display help
45+
-i, -input input filename (CSV content)
46+
-l, -license display license
47+
-o, -output output filename
48+
-quiet suppress error messages
49+
-sheet Sheet name to create/replace
50+
-trim-leading-space trim leading space in field(s) for CSV input
51+
-use-lazy-quotes use lazy quotes for CSV input
52+
-v, -version display version
53+
-workbook Workbook name
5154
</code></pre>
5255

5356
<h2>EXAMPLES</h2>
@@ -64,10 +67,9 @@ <h2>EXAMPLES</h2>
6467
</code></pre>
6568

6669
<p>This does the same but the contents of data.csv are piped into
67-
the workbook&rsquo;s &lsquo;My worksheet 2&rsquo; sheet.
68-
%!(EXTRA string=csv2xlsx, string=csv2xlsx)</p>
70+
the workbook&rsquo;s &lsquo;My worksheet 2&rsquo; sheet.</p>
6971

70-
<p>csv2xlsx v0.0.24-pre</p>
72+
<p>csv2xlsx v0.0.25</p>
7173

7274
</section>
7375

docs/csv2xlsx/index.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
csv2xlsx [OPTIONS] WORKBOOK_NAME SHEET_NAME
55

6-
## SYNOPSIS
6+
## DESCRIPTION
77

88

99
csv2xlsx will take CSV input and create a new sheet in an Excel Workbook.
@@ -12,20 +12,23 @@ If the Workbook does not exist then it is created.
1212

1313
## OPTIONS
1414

15+
Below are a set of options available.
16+
1517
```
16-
-d, -delimiter set delimiter character (input)
17-
-examples display example(s)
18-
-generate-markdown-docs generate markdown documentation
19-
-h, -help display help
20-
-i, -input input filename (CSV content)
21-
-l, -license display license
22-
-o, -output output filename
23-
-quiet suppress error messages
24-
-sheet Sheet name to create/replace
25-
-trim-leading-space trim leading space in field(s) for CSV input
26-
-use-lazy-quotes use lazy quotes for CSV input
27-
-v, -version display version
28-
-workbook Workbook name
18+
-d, -delimiter set delimiter character (input)
19+
-examples display example(s)
20+
-generate-manpage generate man page
21+
-generate-markdown generate markdown documentation
22+
-h, -help display help
23+
-i, -input input filename (CSV content)
24+
-l, -license display license
25+
-o, -output output filename
26+
-quiet suppress error messages
27+
-sheet Sheet name to create/replace
28+
-trim-leading-space trim leading space in field(s) for CSV input
29+
-use-lazy-quotes use lazy quotes for CSV input
30+
-v, -version display version
31+
-workbook Workbook name
2932
```
3033

3134

@@ -43,6 +46,6 @@ called 'MyWorkbook.xlsx' with the contents of data.csv.
4346

4447
This does the same but the contents of data.csv are piped into
4548
the workbook's 'My worksheet 2' sheet.
46-
%!(EXTRA string=csv2xlsx, string=csv2xlsx)
4749

48-
csv2xlsx v0.0.24-pre
50+
51+
csv2xlsx v0.0.25

0 commit comments

Comments
 (0)