Skip to content

Commit d510a71

Browse files
committed
- [#] update README
1 parent 44fcb4c commit d510a71

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

README.e.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,3 @@ It can be used as a code generator, for example, command line parameter handling
4242
- [Moving beyond code-gen and mock-up, using easygen in real life creating GPT partitions](https://suntong.github.io/blogs/2015/12/26/creating-gpt-partitions-easily-on-the-command-line)
4343

4444
Ready to get started? Then check out [Getting Started](https://github.com/go-easygen/easygen/wiki/Getting-Started) to start building your way to turn your data into any form, any way you want.
45-
46-
## Install Debian/Ubuntu package
47-
48-
apt install {{.Name}}
49-

README.end.e.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
## Install Debian/Ubuntu package
3+
4+
sudo apt install -y {{.Name}}
5+
26
## Download/install binaries
37

48
- The latest binary executables are available
@@ -47,18 +51,18 @@ curl -1sLf \
4751

4852
# That's it. You then can do your normal operations, like
4953

50-
sudo apt-get update
54+
sudo apt update
5155
apt-cache policy {{.Name}}
5256

53-
sudo apt-get install -y {{.Name}}
57+
sudo apt install -y {{.Name}}
5458
```
5559

5660
## Install Source
5761

5862
To install the source code instead:
5963

6064
```
61-
go get -v -u {{.ProjectURL}}
65+
go install {{.ProjectURL}}@latest
6266
```
6367

6468
## Author

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ The easy to use universal code/text generator
2222
- [Usage](#usage)
2323
- [$ easygen](#-easygen)
2424
- [Details](#details)
25-
- [Install Debian/Ubuntu package](#install-debianubuntu-package)
2625
- [Download/install binaries](#downloadinstall-binaries)
2726
- [The binary executables](#the-binary-executables)
2827
- [Distro package](#distro-package)
@@ -52,7 +51,7 @@ Note this document is for `easygen` versions 4.0+. For historic versions check o
5251

5352
### $ easygen
5453
```sh
55-
easygen version 5.1.9
54+
easygen version 5.3.0
5655

5756
Usage:
5857
easygen [flags] template_name [data_filename [data_filename...]]
@@ -81,6 +80,10 @@ data_filename(s): The name for the .yaml or .json data.
8180
- Can have the extension or without it. If withot extension,
8281
will try the .yaml file first then .json
8382
- Can include the path as well.
83+
- Can have more than one data files given on cli, separated by spaces,
84+
in which case multiple outputs will be produced based on the inputs.
85+
- Can be a comma-separated list giving many data files, in which case
86+
data will be merged together as if provided from a single file.
8487
- If there is a single data_filename, and it is "-",
8588
then read the data (.yaml or .json format) from stdin.
8689

@@ -104,7 +107,7 @@ Ready to get started? Then check out [Getting Started](https://github.com/go-eas
104107
105108
## Install Debian/Ubuntu package
106109
107-
apt install easygen
110+
sudo apt install -y easygen
108111
109112
## Download/install binaries
110113
@@ -154,18 +157,18 @@ curl -1sLf \
154157
155158
# That's it. You then can do your normal operations, like
156159
157-
sudo apt-get update
160+
sudo apt update
158161
apt-cache policy easygen
159162
160-
sudo apt-get install -y easygen
163+
sudo apt install -y easygen
161164
```
162165

163166
## Install Source
164167

165168
To install the source code instead:
166169

167170
```
168-
go get -v -u github.com/go-easygen/easygen
171+
go install github.com/go-easygen/easygen@latest
169172
```
170173

171174
## Author

0 commit comments

Comments
 (0)