Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit d3191f7

Browse files
Merge pull request #6 from Geocodio/feat/prepare-v1.2.0
Prepare v1.2.0 release
2 parents 084e44c + 3a1d6b3 commit d3191f7

8 files changed

Lines changed: 152 additions & 86 deletions

File tree

README.md

Lines changed: 80 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,90 @@ Command line application to create and manage spreadsheet uploads on Geocodio
66

77
Download our [latest release](https://github.com/Geocodio/geocodio-cli/releases), or use `go install github.com/geocodio/geocodio-cli@latest`
88

9-
## Usage
9+
## Authentication
1010

11+
All commands require a valid API Key, which can be generated from the [Geocodio Dashboard](https://dash.geocod.io/apikey).
12+
13+
It can either be supplied using the global `--apikey` flag, or using an environment variable:
14+
15+
```bash
16+
export GEOCODIO_API_KEY=__MY_API_KEY__
17+
```
18+
19+
## Examples
20+
21+
### Create a new spreadsheet job
22+
23+
Upload a spreadsheet for geocoding. In this example, we're using a test file called [sample_list.csv](https://www.geocod.io/sample_list.csv).
24+
25+
The full address consists of column `A` (address), `B` (city), `C` (state) and `D` (zip):
26+
27+
```bash
28+
$ ./geocodio create sample_list.csv "{{A}} {{B}} {{C}} {{D}} USA" --fields=cd
29+
✅ Success: Spreadsheet job created
30+
Id: 11472143
31+
Filename: sample_list.csv
32+
Headers: address | city | state | zip
33+
Rows: 24
34+
```
35+
36+
> Read more about the field format parameter in the [Geocodio API Docs](https://www.geocod.io/docs/#format-syntax).
37+
38+
### Check the job status
39+
40+
Check the current job progress using the spreadsheet id returned from the previous command:
41+
42+
```bash
43+
$ ./geocodio status 11472143
44+
Id: 11472143
45+
Filename: sample_list.csv
46+
Fields:
47+
Rows: 24
48+
State: COMPLETED
49+
Progress: 100%
50+
Message: Completed
51+
Time left: -
52+
Expires: Jan 21 15:18:31 2022
53+
Download URL: https://api.geocod.io/v1.9/lists/11472143/download
54+
```
55+
56+
You can also use the `--follow` flag to monitor the progress in real-time with a progress bar:
57+
58+
```bash
59+
$ ./geocodio status 11472143 --follow
60+
```
61+
62+
### List all spreadsheet jobs
63+
64+
View all your existing geocoding jobs:
65+
66+
```bash
67+
$ ./geocodio list
68+
```
69+
70+
### Download the geocoded file
71+
72+
Once the job has completed, it can be downloaded using the spreadsheet id.
73+
74+
The geocoded spreadsheet data will be outputted to `stdout`, so you can pipe it to a file to get a completed spreadsheet:
75+
76+
```bash
77+
$ ./geocodio download 11472143 > sample_list_geocoded.csv
1178
```
12-
$ ./geocodio
13-
NAME:
14-
Geocodio - Geocode lists using the Geocodio API
1579

16-
USAGE:
17-
geocodio [global options] command [command options] [arguments...]
80+
### Delete a spreadsheet job
1881

19-
VERSION:
20-
1.0.0
82+
Remove a spreadsheet job by id:
2183

22-
COMMANDS:
23-
create Geocode a new spreadsheet
24-
list List existing geocoding jobs
25-
status Query the status for a specific geocoding job
26-
remove, rm Delete an existing geocoding job
27-
download Download output data for a specific geocoding job
28-
help, h Shows a list of commands or help for one command
84+
```bash
85+
$ ./geocodio remove 11472143
86+
```
87+
88+
## Global Options
2989

30-
GLOBAL OPTIONS:
31-
--hostname value, -n value Geocodio hostname to use, change this for Geocodio Enterprise or on-premise environments (default: "api.geocod.io") [$GEOCODIO_HOSTNAME]
32-
--apikey value, -k value Geocodio API Key to use. Generate a new one in the Geocodio Dashboard [$GEOCODIO_API_KEY]
33-
--help, -h show help (default: false)
34-
--version, -v print the version (default: false)
90+
```
91+
--hostname value, -n value Geocodio hostname to use, change this for Geocodio Enterprise (default: "api.geocod.io") [$GEOCODIO_HOSTNAME]
92+
--apikey value, -k value Geocodio API Key to use. Generate a new one in the Geocodio Dashboard [$GEOCODIO_API_KEY]
93+
--help, -h show help (default: false)
94+
--version, -v print the version (default: false)
3595
```

api/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"time"
1515
)
1616

17-
var apiVersion string = "v1.7"
17+
var apiVersion = "v1.9"
1818

1919
func Request(method string, path string, c *cli.Context) ([]byte, bool, error) {
2020
hostname := c.String("hostname")

app/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func BuildApp() *cli.App {
2121
Name: "hostname",
2222
Aliases: []string{"n"},
2323
Value: "api.geocod.io",
24-
Usage: "Geocodio hostname to use, change this for Geocodio Enterprise or on-premise environments",
24+
Usage: "Geocodio hostname to use, change this for Geocodio Enterprise",
2525
EnvVars: []string{"GEOCODIO_HOSTNAME"},
2626
},
2727
&cli.StringFlag{

app/cli_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import (
88
func TestNoArgs(t *testing.T) {
99
err, output := RunAppForTesting([]string{})
1010

11-
assert.Contains(t, err.Error(), "\"apikey\" not set", "apikey flag should be required")
11+
assert.NotNil(t, err, "should return an error when apikey is not set")
12+
if err != nil {
13+
assert.Contains(t, err.Error(), "\"apikey\" not set", "apikey flag should be required")
14+
}
1215
assert.Contains(t, output, "Geocodio - Geocode lists using the Geocodio API", "Output should contain expected string")
1316
}
1417

download/download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func download(c *cli.Context) error {
4343

4444
return output.ErrorStringAndExit(job.Message)
4545
} else {
46-
fmt.Fprintf(c.App.Writer, string(body))
46+
fmt.Fprintf(c.App.Writer, "%s", string(body))
4747
}
4848

4949
return nil

go.mod

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
module github.com/geocodio/geocodio-cli
22

3-
go 1.22
4-
5-
toolchain go1.22.10
3+
go 1.25.3
64

75
require (
8-
github.com/dustin/go-humanize v1.0.0
9-
github.com/fatih/color v1.13.0
10-
github.com/olekukonko/tablewriter v0.0.5
11-
github.com/stretchr/testify v1.9.0
12-
github.com/urfave/cli/v2 v2.3.0
6+
github.com/dustin/go-humanize v1.0.1
7+
github.com/fatih/color v1.18.0
8+
github.com/olekukonko/tablewriter v1.1.1
9+
github.com/schollz/progressbar/v3 v3.18.0
10+
github.com/stretchr/testify v1.11.1
11+
github.com/urfave/cli/v2 v2.27.7
1312
)
1413

1514
require (
16-
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
15+
github.com/clipperhouse/displaywidth v0.3.1 // indirect
16+
github.com/clipperhouse/stringish v0.1.1 // indirect
17+
github.com/clipperhouse/uax29/v2 v2.2.0 // indirect
18+
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
1719
github.com/davecgh/go-spew v1.1.1 // indirect
18-
github.com/mattn/go-colorable v0.1.9 // indirect
20+
github.com/mattn/go-colorable v0.1.13 // indirect
1921
github.com/mattn/go-isatty v0.0.20 // indirect
20-
github.com/mattn/go-runewidth v0.0.16 // indirect
22+
github.com/mattn/go-runewidth v0.0.19 // indirect
2123
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
24+
github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect
25+
github.com/olekukonko/errors v1.1.0 // indirect
26+
github.com/olekukonko/ll v0.1.2 // indirect
2227
github.com/pmezard/go-difflib v1.0.0 // indirect
2328
github.com/rivo/uniseg v0.4.7 // indirect
24-
github.com/russross/blackfriday/v2 v2.0.1 // indirect
25-
github.com/schollz/progressbar/v3 v3.17.1 // indirect
26-
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
27-
golang.org/x/sys v0.28.0 // indirect
28-
golang.org/x/term v0.27.0 // indirect
29+
github.com/russross/blackfriday/v2 v2.1.0 // indirect
30+
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
31+
golang.org/x/sys v0.29.0 // indirect
32+
golang.org/x/term v0.28.0 // indirect
2933
gopkg.in/yaml.v3 v3.0.1 // indirect
3034
)

go.sum

Lines changed: 44 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,57 @@
1-
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
2-
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d h1:U+s90UTSYgptZMwQh2aRr3LuazLJIa+Pg3Kc1ylSYVY=
3-
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
4-
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
5-
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1+
github.com/chengxilo/virtualterm v1.0.4 h1:Z6IpERbRVlfB8WkOmtbHiDbBANU7cimRIof7mk9/PwM=
2+
github.com/chengxilo/virtualterm v1.0.4/go.mod h1:DyxxBZz/x1iqJjFxTFcr6/x+jSpqN0iwWCOK1q10rlY=
3+
github.com/clipperhouse/displaywidth v0.3.1 h1:k07iN9gD32177o1y4O1jQMzbLdCrsGJh+blirVYybsk=
4+
github.com/clipperhouse/displaywidth v0.3.1/go.mod h1:tgLJKKyaDOCadywag3agw4snxS5kYEuYR6Y9+qWDDYM=
5+
github.com/clipperhouse/stringish v0.1.1 h1:+NSqMOr3GR6k1FdRhhnXrLfztGzuG+VuFDfatpWHKCs=
6+
github.com/clipperhouse/stringish v0.1.1/go.mod h1:v/WhFtE1q0ovMta2+m+UbpZ+2/HEXNWYXQgCt4hdOzA=
7+
github.com/clipperhouse/uax29/v2 v2.2.0 h1:ChwIKnQN3kcZteTXMgb1wztSgaU+ZemkgWdohwgs8tY=
8+
github.com/clipperhouse/uax29/v2 v2.2.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
9+
github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo=
10+
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
11+
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
612
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
7-
github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
8-
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
9-
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
10-
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
11-
github.com/mattn/go-colorable v0.1.9 h1:sqDoxXbdeALODt0DAeJCVp38ps9ZogZEAXjus69YV3U=
12-
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
13-
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
14-
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
15-
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
13+
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
14+
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
15+
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
16+
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
17+
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
18+
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
19+
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
1620
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
1721
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
18-
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
19-
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
20-
github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6TULQc=
21-
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
22+
github.com/mattn/go-runewidth v0.0.19 h1:v++JhqYnZuu5jSKrk9RbgF5v4CGUjqRfBm05byFGLdw=
23+
github.com/mattn/go-runewidth v0.0.19/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
2224
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db h1:62I3jR2EmQ4l5rM/4FEfDWcRD+abF5XlKShorW5LRoQ=
2325
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db/go.mod h1:l0dey0ia/Uv7NcFFVbCLtqEBQbrT4OCwCSKTEv6enCw=
24-
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
25-
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
26+
github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 h1:zrbMGy9YXpIeTnGj4EljqMiZsIcE09mmF8XsD5AYOJc=
27+
github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6/go.mod h1:rEKTHC9roVVicUIfZK7DYrdIoM0EOr8mK1Hj5s3JjH0=
28+
github.com/olekukonko/errors v1.1.0 h1:RNuGIh15QdDenh+hNvKrJkmxxjV4hcS50Db478Ou5sM=
29+
github.com/olekukonko/errors v1.1.0/go.mod h1:ppzxA5jBKcO1vIpCXQ9ZqgDh8iwODz6OXIGKU8r5m4Y=
30+
github.com/olekukonko/ll v0.1.2 h1:lkg/k/9mlsy0SxO5aC+WEpbdT5K83ddnNhAepz7TQc0=
31+
github.com/olekukonko/ll v0.1.2/go.mod h1:b52bVQRRPObe+yyBl0TxNfhesL0nedD4Cht0/zx55Ew=
32+
github.com/olekukonko/tablewriter v1.1.1 h1:b3reP6GCfrHwmKkYwNRFh2rxidGHcT6cgxj/sHiDDx0=
33+
github.com/olekukonko/tablewriter v1.1.1/go.mod h1:De/bIcTF+gpBDB3Alv3fEsZA+9unTsSzAg/ZGADCtn4=
2634
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2735
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
28-
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
2936
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
3037
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
31-
github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
32-
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
33-
github.com/schollz/progressbar/v3 v3.17.1 h1:bI1MTaoQO+v5kzklBjYNRQLoVpe0zbyRZNK6DFkVC5U=
34-
github.com/schollz/progressbar/v3 v3.17.1/go.mod h1:RzqpnsPQNjUyIgdglUjRLgD7sVnxN1wpmBMV+UiEbL4=
35-
github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
36-
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
37-
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
38-
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
39-
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
40-
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
41-
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
42-
github.com/urfave/cli/v2 v2.3.0 h1:qph92Y649prgesehzOrQjdWyxFOp/QVM+6imKHad91M=
43-
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
44-
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
45-
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
46-
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
47-
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
38+
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
39+
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
40+
github.com/schollz/progressbar/v3 v3.18.0 h1:uXdoHABRFmNIjUfte/Ex7WtuyVslrw2wVPQmCN62HpA=
41+
github.com/schollz/progressbar/v3 v3.18.0/go.mod h1:IsO3lpbaGuzh8zIMzgY3+J8l4C8GjO0Y9S69eFvNsec=
42+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
43+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
44+
github.com/urfave/cli/v2 v2.27.7 h1:bH59vdhbjLv3LAvIu6gd0usJHgoTTPhCFib8qqOwXYU=
45+
github.com/urfave/cli/v2 v2.27.7/go.mod h1:CyNAG/xg+iAOg0N4MPGZqVmv2rCoP267496AOXUZjA4=
46+
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4=
47+
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM=
48+
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
4849
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
49-
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
50-
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
51-
golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
52-
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
50+
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
51+
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
52+
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
53+
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
5354
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
5455
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
55-
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
56-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
57-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
56+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
5857
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func outputResults(w io.Writer, listResults ListsResult) error {
7474
}
7575

7676
table := tablewriter.NewWriter(w)
77-
table.SetHeader([]string{"Id", "Filename", "Rows", "State", "Progress", "Message", "Time left", "Expires"})
77+
table.Header("Id", "Filename", "Rows", "State", "Progress", "Message", "Time left", "Expires")
7878

7979
for _, v := range rows {
8080
table.Append(v)

0 commit comments

Comments
 (0)