@@ -0,0 +1,1417 @@
+%22%22%22%0AUsage:%0A    binstar notebook upload notebook%0A    binstar notebook upload project/notebook%0A    binstar notebook upload project/notebook-file.ipynb%0A    binstar notebook download project%0A    binstar notebook download project/notebook-file%5B.ipynb%5D%0A%22%22%22%0A%0Afrom __future__ import unicode_literals%0Aimport argparse%0Aimport logging%0A%0Alog = logging.getLogger(%22binstar.notebook%22)%0A%0A%0Adef add_parser(subparsers):%0A%0A    description = 'Upload/Download notebooks to/from binstar'%0A    parser = subparsers.add_parser('notebook',%0A                                   formatter_class=argparse.RawDescriptionHelpFormatter,%0A                                   help=description,%0A                                   description=description,%0A                                   epilog=__doc__)%0A%0A    parser.add_argument(%0A        'action',%0A        choices=%5B'upload', 'download'%5D%0A    )%0A%0A    mgroup = parser.add_argument_group('metadata options')%0A    mgroup.add_argument('-v', '--version', help='Notebook version')%0A    mgroup.add_argument('-s', '--summary', help='Set the summary of the notebook')%0A%0A    parser.add_argument(%0A        '-u', '--user',%0A        help='User account, defaults to the current user'%0A    )%0A%0A    parser.add_argument(%0A        'notebook',%0A        help=%22project/notebook or notebook's filename%22,%0A        action='store',%0A        default=None,%0A        nargs='?'%0A    )%0A%0A    parser.set_defaults(main=main)%0A%0A%0Adef main(args):%0A    print(args)%0A

Improve binstar notebook cli. Add parser