In MarkdownTools, the command-line options are inconsistent. The script needs to run on a single designated file, on files in a designated directory, or on files in the current directory.
For whatever the standard is, library the routines that walk down directories. Use the same language on command-line options. And make outputs the same.