parameters: ()
docstring: Collect arguments from the commandline and create vcpkg.
docstring_summary: Collect arguments from the commandline and create vcpkg.
docstring_tokens: Collect arguments from the commandline and create vcpkg .
function: def createVcpkgFromCommandLine():
      """Collect arguments from the commandline and create vcpkg."""
  
      parser = argparse.ArgumentParser(
          description='Create microsoft vcpkg.',
          epilog="""""",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter)
  
      parser.add_argument(
          '-v', '--verbose',
          action='count',
          default=0,
          help='level of progress reporting')
  
      parser.add_argument(
          '--user',
          metavar='u',
          type=str,
          default=cfg_github_user,
          help='github user name')
  
      parser.add_argument(
          '--project',
          metavar='p',
          type=str,
          default=cfg_github_project,
          help='github project name')
  
      parser.add_argument(
          '--description',
          metavar='d',
          type=str,
  #       default=cfg_description,
          default=descriptionFrom( cfg_cmakelists ),
          help='vcpkg description [from ' + cfg_cmakelists + ']')
  
      parser.add_argument(
          '--version',
          metavar='v',
          type=str,
          default=versionFrom( cfg_cmakelists ),
          help='version number [from ' + cfg_cmakelists + ']')
  
      parser.add_argument(
          '--sha',
          metavar='s',
          type=str,
          default=cfg_sha512,
          help='sha of package')
  
      parser.add_argument(
          '--vcpkg-root',
          metavar='r',
          type=str,
          default=vcpkgRootFrom( cfg_vcpkg_root ),
          help='parent folder containing ports to write files to')
  
      createVcpkg( parser.parse_args() )
function_tokens: def createVcpkgFromCommandLine ( ) : parser = argparse . ArgumentParser ( description = 'Create microsoft vcpkg.' , epilog = """""" , formatter_class = argparse . ArgumentDefaultsHelpFormatter ) parser . add_argument ( '-v' , '--verbose' , action = 'count' , default = 0 , help = 'level of progress reporting' ) parser . add_argument ( '--user' , metavar = 'u' , type = str , default = cfg_github_user , help = 'github user name' ) parser . add_argument ( '--project' , metavar = 'p' , type = str , default = cfg_github_project , help = 'github project name' ) parser . add_argument ( '--description' , metavar = 'd' , type = str , #       default=cfg_description, default = descriptionFrom ( cfg_cmakelists ) , help = 'vcpkg description [from ' + cfg_cmakelists + ']' ) parser . add_argument ( '--version' , metavar = 'v' , type = str , default = versionFrom ( cfg_cmakelists ) , help = 'version number [from ' + cfg_cmakelists + ']' ) parser . add_argument ( '--sha' , metavar = 's' , type = str , default = cfg_sha512 , help = 'sha of package' ) parser . add_argument ( '--vcpkg-root' , metavar = 'r' , type = str , default = vcpkgRootFrom ( cfg_vcpkg_root ) , help = 'parent folder containing ports to write files to' ) createVcpkg ( parser . parse_args ( ) )