diff options
| author | nytpu <alex@nytpu.com> | 2021-03-18 15:02:22 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-03-18 15:02:22 -0600 |
| commit | eb7d8cf21e8f8230bb170102a746c6ba7e8feac0 (patch) | |
| tree | 9b88aedf78a652cbb73f89a8184d6fe97dfa59a4 /comitium.go | |
| parent | fbfa123d2d0eaed7f98641761f936df3e4bd595a (diff) | |
implement remove command
Diffstat (limited to 'comitium.go')
| -rw-r--r-- | comitium.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comitium.go b/comitium.go index a6b116e..8e9c003 100644 --- a/comitium.go +++ b/comitium.go @@ -80,8 +80,8 @@ func main() { } case "remove": argCheck(c.Args(), 1, true, "Please provide a URL to remove.") - // TODO - fmt.Fprintln(os.Stderr, "Not Yet Implemented") + delete(core.Data.Feeds, c.Arg(0)) + delete(core.Data.Pages, c.Arg(0)) } err = core.Data.WriteJSON(dataPath) |
