Command line plumbing

This commit is contained in:
Jamie Hardt
2021-05-16 14:48:38 -07:00
parent 294e0732df
commit e78e55639d
3 changed files with 26 additions and 22 deletions

View File

@@ -200,6 +200,8 @@ def convert(input_file, output_format='fmpxml', start=None, end=None, select_ree
if output_format == 'json':
json.dump(parsed, output)
elif output_format == 'full':
print("Sorry, the `full` output type is not yet supported.")
elif output_format == 'fmpxml':
if xsl is None:
fmp_dump(parsed, input_file, output)