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
I'm a bit hesitant, tbh. You pass md dir, but what about templates dir? Should underblog assume template dir is current dir? Or 1 level above md dir? Now we're forced to either introduce another CLI argument for templates or introduce implicit behavior.
I'd love underblog to be an opinionated, dumb, barebones tool with virtually zero complexity for the user.
I agree. «keep it simple» – the best way to success for such type of programs. But, I believe this kind of customization will be very useful, at least not for MD dir but for an entry point.
For this time we may save the current default behavior, like
$ underblog
will expect templates and MD in the current workdir.
But, if you pass some additional args it will be a custom entry point or even entry points (if you wanna make few your blogs, for example. idk, is it relevant case?):
$ underblog ~/Docs/myBlog
will expect templates and MD it the ~/Docs/myBlog, or
It will be much more useful if CLI will expect path to markdown dir like arg, like
The text was updated successfully, but these errors were encountered: