def git(): run(["git", "add", "."]) run(["git", "commit", "-m", "new article"]) shell(["git", "push"])
def plan_minamorl_article(args): import string import random title = ''.join(random.choice(string.ascii_lowercase) for _ in range(10)) run(["nvim", title + ".md"], on="~/repos/minamorl.com/articles", start_new_session=True)