You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tomzx What about adding a --format option for which text could be the default and then using the --to-file option proposed in #53 to dump the output to a file (regardless the format)?
@xabbuh The issue is that HTML will probably end up containing a couple more files, namely js and css files (with the possibility of fonts as well). Thus, it would probably not make sense to use --to-file.
Furthermore, I think it's cleaner to specify outputs separately as you can output various formats all at once. I also don't like having "dependent" options, that is, what happens if I say --format text but do not put --to-file? Is the whole output supposed to be in the format specified? Is the option supposed to be ignored since I didn't pass where to write the results?
I also don't like having "dependent" options, that is, what happens if I say --format text but do not put --to-file? Is the whole output supposed to be in the format specified? Is the option supposed to be ignored since I didn't pass where to write the results?
I think that's pretty fine and the nature how you use command-line tools on UNIX-like systems. For example, I may want to further process the output generated and pipe it to other commands.
In order for this tool to be reusable in other tools, it should be able to output in HTML.
Currently suggested option name is
--to-html folder
.The text was updated successfully, but these errors were encountered: