(options: 'argparse.Namespace')
Based on what arguments are passed we check for a match in language
    then check for project type and create new Meson samples project.
Based on what arguments are passed we check for a match in language
    then check for project type and create new Meson samples project.
Based on what arguments are passed we check for a match in language then check for project type and create new Meson samples project .
def create_sample(options: 'argparse.Namespace') -> None:
    '''
    Based on what arguments are passed we check for a match in language
    then check for project type and create new Meson samples project.
    '''
    sample_gen = sameple_generator(options)
    if options.type == DEFAULT_TYPES['EXE'].value:
        sample_gen.create_executable()
    elif options.type == DEFAULT_TYPES['LIB'].value:
        sample_gen.create_library()
    else:
        raise RuntimeError('Unreachable code')
    print(INFO_MESSAGE)
def create_sample ( options : 'argparse.Namespace' ) -> None : sample_gen = sameple_generator ( options ) if options . type == DEFAULT_TYPES [ 'EXE' ] . value : sample_gen . create_executable ( ) elif options . type == DEFAULT_TYPES [ 'LIB' ] . value : sample_gen . create_library ( ) else : raise RuntimeError ( 'Unreachable code' ) print ( INFO_MESSAGE )