Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/l/clihub-0.1/clihub/scripts/clihub.py   clihub(Download)
 
    if arguments.get('repo'):
        with Account.load_from_config() as account:
            if arguments.get('new'):
                has_issues = not arguments.get('--no-issues')
 
    if arguments.get('gist'):
        with Account.load_from_config() as account:
            if arguments.get('new'):
                description = arguments.get('--description') or 'Undefined Description'
 
    if arguments.get('issue'):
        with Account.load_from_config() as account:
            if arguments.get('new'):
                Issue.create(account, arguments.get('<repository>'), arguments.get('<title>'), arguments.get('--description'))