Skip to content

Instantly share code, notes, and snippets.

Last active May 27, 2019
What would you like to do?
import argparse
from . import user_service, doc_service, repo_service
parser = argparse.ArgumentParser()
# ... set argument
args = parser.parse_args()
getattr(args, args.sub))
# -*- coding: utf-8 -*-
def update(id_, name, **_):
return f'{id_}, {name}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment