I somewhere read recently of a notion of capturing trivial CLIs as a Makefile. So when I set out to revive the concept of a Me, an Unremarkable Nano Who Blogs, I had an opportunity to record such juvenilia. Please enjoy Makefile.dev:
create recreate setup pipenv: pipenv --python 3.11 depends: pipenv install markdown pipenv install pelican pipenv install typogrify init: pipenv run pelican-quickstart publish: pipenv run make html inspect: pipenv run make devserver live: pipenv run make s3_upload
It is named Makefile.dev, because one of the things which pelican-quickstart can happily do is generate a file named Makefile. So, yes, this Makefile is extremely silly as one calls it w/:
make -f Makefile.dev inspect
or w/e.