diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-07-26 09:47:52 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-07-26 09:47:52 -0500 |
commit | ce0001538820d819bf965a24ffbb6f6e6269859c (patch) | |
tree | 4ae4de19596d8771ac0b4757f285e4f11fd94519 /src/parse.h | |
parent | d45581c0b067b9526ce88ba9d3a1bd861f4ff7cc (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.h | 10 |
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 |