aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-09-18 12:12:58 +0200
committerdefault <nobody@localhost>2024-09-18 12:12:58 +0200
commit748d60497fb6cdcc3fbc0a9dbd3bc812045ba85f (patch)
treeefa0977e7216f1252669139071c45c2aef8dcdae /main.c
parent5f5d4be347fdde2d1ceb3df9692af3dcfe551bcc (diff)
Started support for CSV data export.
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index 9babc75..9770882 100644
--- a/main.c
+++ b/main.c
@@ -267,6 +267,11 @@ int main(int argc, char *argv[])
return 0;
}
+ if (strcmp(cmd, "export_csv") == 0) { /** **/
+ export_csv(&snac);
+ return 0;
+ }
+
if ((url = GET_ARGV()) == NULL)
return usage();