From ce0001538820d819bf965a24ffbb6f6e6269859c Mon Sep 17 00:00:00 2001 From: jvech Date: Fri, 26 Jul 2024 09:47:52 -0500 Subject: add: file_write() implemented things implemented: - CLI option --only-out added - CLI option --format works more intuitively - csv tsv and json output support --- src/parse.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/parse.h') 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 -- cgit v1.2.3-70-g09d2