code: def new_cmd(argv):
      
      parser = mkvirtualenv_argparser()
      parser.add_argument('-a', dest='project', help='Provide a full path to a \
  project directory to associate with the new environment.')
  
      parser.add_argument('envname')
      args, rest = parser.parse_known_args(argv)
      project = expandpath(args.project) if args.project else None
  
      mkvirtualenv(args.envname, args.python, args.packages, project,
                   args.requirements, rest)
      if args.activate:
          shell(args.envname)
docs: Create a new environment, in $WORKON_HOME.