diff options
| author | nytpu <alex@nytpu.com> | 2021-03-18 15:01:51 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-03-18 15:01:51 -0600 |
| commit | fbfa123d2d0eaed7f98641761f936df3e4bd595a (patch) | |
| tree | 380fd9e973531ddab57b9d29316ca2fecf053dd2 | |
| parent | 77982cb60eaee33593446be6985c2aaa771ce0a9 (diff) | |
Implement list command using previously implemented core.FullData.Export()
| -rw-r--r-- | comitium.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comitium.go b/comitium.go index bc40f0c..a6b116e 100644 --- a/comitium.go +++ b/comitium.go @@ -59,8 +59,7 @@ func main() { fetch.RefreshAll(&core.Data, *refreshWorkersFlag) case "list": argCheck(c.Args(), 0, false, "'list' doesn't take an argument!") - // TODO - fmt.Fprintln(os.Stderr, "Not Yet Implemented") + core.Data.Export(os.Stdout) case "add": argCheck(c.Args(), 1, true, "Please provide a URL to add.") |
