parameters: ()
docstring: Collect arguments from the commandline and create conan package and upload it.
docstring_summary: Collect arguments from the commandline and create conan package and upload it.
docstring_tokens: Collect arguments from the commandline and create conan package and upload it .
function: def uploadToConanFromCommandLine():
      """Collect arguments from the commandline and create conan package and upload it."""
  
      parser = argparse.ArgumentParser(
          description='Create conan package and upload it to conan.',
          epilog="""""",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter)
  
      parser.add_argument(
          '-n', '--dry-run',
          action='store_true',
          help='do not execute conan commands')
  
      parser.add_argument(
          '-v', '--verbose',
          action='count',
          default=0,
          help='level of progress reporting')
  
      parser.add_argument(
          '--project',
          metavar='p',
          type=str,
          default=def_conan_project,
          help='conan project')
  
      parser.add_argument(
          '--user',
          metavar='u',
          type=str,
          default=def_conan_user,
          help='conan user')
  
      parser.add_argument(
          '--channel',
          metavar='c',
          type=str,
          default=def_conan_channel,
          help='conan channel')
  
      parser.add_argument(
          '--version',
          metavar='v',
          type=str,
          default=versionFrom( cfg_conanfile ),
          help='version number [from conanfile.py]')
  
      uploadToConan( parser.parse_args() )
function_tokens: def uploadToConanFromCommandLine ( ) : parser = argparse . ArgumentParser ( description = 'Create conan package and upload it to conan.' , epilog = """""" , formatter_class = argparse . ArgumentDefaultsHelpFormatter ) parser . add_argument ( '-n' , '--dry-run' , action = 'store_true' , help = 'do not execute conan commands' ) parser . add_argument ( '-v' , '--verbose' , action = 'count' , default = 0 , help = 'level of progress reporting' ) parser . add_argument ( '--project' , metavar = 'p' , type = str , default = def_conan_project , help = 'conan project' ) parser . add_argument ( '--user' , metavar = 'u' , type = str , default = def_conan_user , help = 'conan user' ) parser . add_argument ( '--channel' , metavar = 'c' , type = str , default = def_conan_channel , help = 'conan channel' ) parser . add_argument ( '--version' , metavar = 'v' , type = str , default = versionFrom ( cfg_conanfile ) , help = 'version number [from conanfile.py]' ) uploadToConan ( parser . parse_args ( ) )