Skip to content

Commit c96761b

Browse files
committed
build from repo
1 parent d045e03 commit c96761b

File tree

1 file changed

+41
-33
lines changed

1 file changed

+41
-33
lines changed

README.md

Lines changed: 41 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -647,36 +647,36 @@ cat test-files/left-table.csv \
647647
648648
### Pipelining Support
649649
650-
| Subcommand | Input | Output |
651-
| ------------- | :-----------------: | :------: |
652-
| add | ✔ | ✔ |
653-
| autoincrement | ✔ | ✔ |
654-
| behead | ✔ | ✔ |
655-
| clean | ✔ | ✔ |
656-
| delimiter | ✔ | ✔ |
657-
| describe | ✔ | N/A |
658-
| dimensions | &#x2714; | &#x2714;<sup>*</sup> |
659-
| filter | &#x2714; | &#x2714; |
660-
| head | &#x2714; | &#x2714; |
661-
| headers | &#x2714; | &#x2714;<sup>*</sup> |
662-
| join | &#x2714; | &#x2714; |
663-
| ncol | &#x2714; | N/A |
664-
| nrow | &#x2714; | N/A |
665-
| rename | &#x2714; | &#x2714; |
666-
| replace | &#x2714; | &#x2714; |
667-
| sample | &#x2714; | &#x2714; |
668-
| select | &#x2714; | &#x2714; |
669-
| sort | &#x2714; | &#x2714; |
670-
| split | &#x2714; | N/A |
671-
| sql | &#x2714;<sup>&#x2020;</sup> | &#x2714; |
672-
| stack | &#x2714;<sup>&#x2020;</sup> | &#x2714; |
673-
| stats | &#x2714; | N/A |
674-
| tail | &#x2714; | &#x2714; |
675-
| transpose | &#x2714; | &#x2714; |
676-
| tsv | &#x2714; | &#x2714; |
677-
| unique | &#x2714; | &#x2714; |
678-
| view | &#x2714; | N/A |
679-
| xlsx | N/A | &#x2021; |
650+
| Subcommand | Input | Output |
651+
| ------------- | :-------------------------: | :-------------------: |
652+
| add | &#x2714; | &#x2714; |
653+
| autoincrement | &#x2714; | &#x2714; |
654+
| behead | &#x2714; | &#x2714; |
655+
| clean | &#x2714; | &#x2714; |
656+
| delimiter | &#x2714; | &#x2714; |
657+
| describe | &#x2714; | N/A |
658+
| dimensions | &#x2714; | &#x2714;<sup>\*</sup> |
659+
| filter | &#x2714; | &#x2714; |
660+
| head | &#x2714; | &#x2714; |
661+
| headers | &#x2714; | &#x2714;<sup>\*</sup> |
662+
| join | &#x2714; | &#x2714; |
663+
| ncol | &#x2714; | N/A |
664+
| nrow | &#x2714; | N/A |
665+
| rename | &#x2714; | &#x2714; |
666+
| replace | &#x2714; | &#x2714; |
667+
| sample | &#x2714; | &#x2714; |
668+
| select | &#x2714; | &#x2714; |
669+
| sort | &#x2714; | &#x2714; |
670+
| split | &#x2714; | N/A |
671+
| sql | &#x2714;<sup>&#x2020;</sup> | &#x2714; |
672+
| stack | &#x2714;<sup>&#x2020;</sup> | &#x2714; |
673+
| stats | &#x2714; | N/A |
674+
| tail | &#x2714; | &#x2714; |
675+
| transpose | &#x2714; | &#x2714; |
676+
| tsv | &#x2714; | &#x2714; |
677+
| unique | &#x2714; | &#x2714; |
678+
| view | &#x2714; | N/A |
679+
| xlsx | N/A | &#x2021; |
680680
681681
\* `dimensions` and `headers` write to CSV format when using the `--csv` argument.
682682
@@ -804,7 +804,7 @@ To install from source,
804804
1. If you've never installed/built with Go before, welcome! 🤓
805805
806806
1. Follow the instructions for your OS/platform at Go's [_Download and install_](https://go.dev/doc/install) page, starting with the Download (1.x.x) button.
807-
807+
808808
Ensure that `go version` works.
809809
810810
2. Go installs binaries to `$GOBIN`, which defaults to being not set and falls back to`$GOPATH/bin`. You'll need to either set `$GOBIN` and ensure that path is in your `$PATH`, or add `$GOPATH/bin` to your `$PATH`.
@@ -813,13 +813,21 @@ To install from source,
813813
814814
If you want to learn more about the path-related decisions the go command makes, check out the [GOPATH wiki](https://go.dev/wiki/GOPATH#gopath-variable).
815815
816-
2. Run `go install`:
816+
2. Either, run `go install`...
817817
818818
```shell
819819
go install github.com/aotimme/gocsv@latest
820820
```
821821
822-
3. Verify the install with `gocsv version`. You may need to restart your shell.
822+
Verify the install with `gocsv version`. You may need to restart your shell.
823+
824+
3. Or, clone/download the repository and build directly:
825+
826+
```shell
827+
cd <GOCSV-DIR>
828+
go build -o gocsv .
829+
./gocsv version
830+
```
823831
824832
### Apple OS X
825833

0 commit comments

Comments
 (0)