def choice(args):
""" Given a namespace, determine what to do based of the parameters given. """
if args.random:
return get_random_articles_v1(args.random)
elif args.read:
return get_wanted_article(args.read)
elif args.forever:
return get_random_articles_v2()
评论列表
文章目录