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

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

src/p/y/pygist-0.211/pygist/cli.py   pygist(Download)
from clint.textui import colored, puts, indent
from .core import delete_gist, create_gist
from .config import login, make_config, write_config, config_file
        if args.get(1) == 'paste':
            description = args.get(2) or ''
            create_gist(paste=True, description=description)
        elif not args.files:
            puts('{0}. {1}'.format(colored.blue('pygist'),
                 colored.red('You need to pass file as well to create a gist')))
            description = args.not_files.get(1) or ''
            files = args.files
            create_gist(files=files, description=description)