Skip to content

Instantly share code, notes, and snippets.

@frnhr
Created July 31, 2015 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frnhr/84a6593459986cce3ebc to your computer and use it in GitHub Desktop.
Save frnhr/84a6593459986cce3ebc to your computer and use it in GitHub Desktop.
Usage patterns for MeteoDoc2CSV
MeteoDoc2CSV 0.0.1
Parse Word files of a proprietary format into CSV files.
Usage:
meteo_doc2csv.py <input_file>... [-o=<output_file>]
meteo_doc2csv.py <input_file>... [--append=<append>] [--prepend=<prepend>]
meteo_doc2csv.py -d <input_dir> [--append=<append>] [--prepend=<prepend>] [--join]
meteo_doc2csv.py (-h | --help)
meteo_doc2csv.py --version
Options:
-h --help Show this screen.
--version Show version.
-o --out=<output_file> Output file path.
Can contain file name when used with a single input file.
Otherwise specify only output directory.
Default: input file name with ".csv" extension.
-a --append=<append> Append to output file name, before the ".csv" extension.
-p --prepend=<prepend> Prepend to output file name.
-d --dir=<input_dir> Input directory path.
Only valid if --out is specified as relative path, or file name.
Default: same directory where input file(s) is located.
-j --join Combine input files in a single output file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment