aboutsummaryrefslogtreecommitdiff
path: root/src/parse.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2024-07-26 09:47:52 -0500
committerjvech <jmvalenciae@unal.edu.co>2024-07-26 09:47:52 -0500
commitce0001538820d819bf965a24ffbb6f6e6269859c (patch)
tree4ae4de19596d8771ac0b4757f285e4f11fd94519 /src/parse.h
parentd45581c0b067b9526ce88ba9d3a1bd861f4ff7cc (diff)
add: file_write() implemented
things implemented: - CLI option --only-out added - CLI option --format works more intuitively - csv tsv and json output support
Diffstat (limited to 'src/parse.h')
-rw-r--r--src/parse.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/parse.h b/src/parse.h
index d5f99d0..d8aeada 100644
--- a/src/parse.h
+++ b/src/parse.h
@@ -18,4 +18,14 @@ void file_read(
bool read_output,
char *file_format
);
+
+void file_write(
+ char *filepath,
+ Array input, Array out,
+ char *in_keys[], size_t n_in_keys,
+ char *out_keys[], size_t n_out_keys,
+ bool write_input,
+ char *file_format);
+
+char * file_format_infer(char *filename);
#endif
Feel free to download, copy and edit any repo