Currently file-imports can be accomplished through the -t TYPE command-line option and piping the file to standard input.
It would be desirable to import from a file if its name is specified following option arguments on the command-line.
If the MIME type could be automatically determined, the need for the -t TYPE argument would be obviated; this would require processors to register file extensions along with the MIME types of messages that they can process.
Currently twine-writerd doesn't accept any non-option arguments, so triggering this behaviour as part of option processing would be trivial.
Currently file-imports can be accomplished through the
-t TYPE
command-line option and piping the file to standard input.It would be desirable to import from a file if its name is specified following option arguments on the command-line.
If the MIME type could be automatically determined, the need for the
-t TYPE
argument would be obviated; this would require processors to register file extensions along with the MIME types of messages that they can process.Currently
twine-writerd
doesn't accept any non-option arguments, so triggering this behaviour as part of option processing would be trivial.