(parser: 'argparse.ArgumentParser')
Here we add args for that the user can passed when making a new
    Meson project.
Here we add args for that the user can passed when making a new
    Meson project.
Here we add args for that the user can passed when making a new Meson project .
def add_arguments(parser: 'argparse.ArgumentParser') -> None:
    '''
    Here we add args for that the user can passed when making a new
    Meson project.
    '''
    parser.add_argument("srcfiles", metavar="sourcefile", nargs="*", help="source files. default: all recognized files in current directory")
    parser.add_argument('-C', dest='wd', action=mesonlib.RealPathAction,
                        help='directory to cd into before running')
    parser.add_argument("-n", "--name", help="project name. default: name of current directory")
    parser.add_argument("-e", "--executable", help="executable name. default: project name")
    parser.add_argument("-d", "--deps", help="dependencies, comma-separated")
    parser.add_argument("-l", "--language", choices=sorted(LANG_SUPPORTED), help="project language. default: autodetected based on source files")
    parser.add_argument("-b", "--build", action='store_true', help="build after generation")
    parser.add_argument("--builddir", default='build', help="directory for build")
    parser.add_argument("-f", "--force", action="store_true", help="force overwrite of existing files and directories.")
    parser.add_argument('--type', default=DEFAULT_PROJECT, choices=('executable', 'library'), help=f"project type. default: {DEFAULT_PROJECT} based project")
    parser.add_argument('--version', default=DEFAULT_VERSION, help=f"project version. default: {DEFAULT_VERSION}")
def add_arguments ( parser : 'argparse.ArgumentParser' ) -> None : parser . add_argument ( "srcfiles" , metavar = "sourcefile" , nargs = "*" , help = "source files. default: all recognized files in current directory" ) parser . add_argument ( '-C' , dest = 'wd' , action = mesonlib . RealPathAction , help = 'directory to cd into before running' ) parser . add_argument ( "-n" , "--name" , help = "project name. default: name of current directory" ) parser . add_argument ( "-e" , "--executable" , help = "executable name. default: project name" ) parser . add_argument ( "-d" , "--deps" , help = "dependencies, comma-separated" ) parser . add_argument ( "-l" , "--language" , choices = sorted ( LANG_SUPPORTED ) , help = "project language. default: autodetected based on source files" ) parser . add_argument ( "-b" , "--build" , action = 'store_true' , help = "build after generation" ) parser . add_argument ( "--builddir" , default = 'build' , help = "directory for build" ) parser . add_argument ( "-f" , "--force" , action = "store_true" , help = "force overwrite of existing files and directories." ) parser . add_argument ( '--type' , default = DEFAULT_PROJECT , choices = ( 'executable' , 'library' ) , help = f"project type. default: {DEFAULT_PROJECT} based project" ) parser . add_argument ( '--version' , default = DEFAULT_VERSION , help = f"project version. default: {DEFAULT_VERSION}" )