Пример #1
0
def git():
    run(["git", "add", "."])
    run(["git", "commit", "-m", "new article"])
    shell(["git", "push"])
Пример #2
0
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)