Implement list command using previously implemented core.FullData.Export()
This commit is contained in:
+1
-2
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user