You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,29 @@
17
17
18
18
No installation is required. Just grab a [release](https://github.com/spatialcurrent/gocat/releases). You might want to rename your binary to just `gocat` (or `cat`) for convenience.
19
19
20
-
If you do have go already installed, you can just run using `go run main.go` or install with `bash scripts/install.sh`
20
+
If you do have go already installed, you can just run using `go run main.go` or install with `make install`
21
21
22
22
# Usage
23
23
24
-
See the few examples below.
24
+
See the usage below or the following examples.
25
+
26
+
```
27
+
gocat is a super simple utility to concatenate files (local, remote, or on AWS S3) provided as positional arguments. Supports stdin (aka "-"), local files (path/to/file or file://path/to/file), remote files (http://path/to/file), or files on AWS S3 (s3://path/to/file).
28
+
29
+
Usage:
30
+
gocat [-|stdin|FILE|URI]... [flags]
31
+
32
+
Flags:
33
+
-a, --append-new-lines append new lines to files that do not end in new lines characters
34
+
--aws-access-key-id string AWS Access Key ID
35
+
--aws-default-region string AWS Default Region
36
+
--aws-profile string AWS Profile
37
+
--aws-region string AWS Region (overrides default region)
Long: `super simple utility to concatenate file paths and uris provided as positional arguments. Can read from stdin (aka \"-\"), local files, files on AWS S3, or remote urls.`,
81
+
Long: `gocat is a super simple utility to concatenate files (local, remote, or on AWS S3) provided as positional arguments. Supports stdin (aka "-"), local files (path/to/file or file://path/to/file), remote files (http://path/to/file), or files on AWS S3 (s3://path/to/file).`,
0 commit comments