parameters: (ctx)
docstring: updates the plugins from the *waflib/extras* directory
docstring_summary: updates the plugins from the *waflib/extras* directory
docstring_tokens: updates the plugins from the * waflib / extras * directory
function: def update(ctx):
  	'''updates the plugins from the *waflib/extras* directory'''
  	lst = Options.options.files.split(',')
  	if not lst:
  		lst = [x for x in Utils.listdir(Context.waf_dir + '/waflib/extras') if x.endswith('.py')]
  	for x in lst:
  		tool = x.replace('.py', '')
  		try:
  			Configure.download_tool(tool, force=True, ctx=ctx)
  		except Errors.WafError:
  			Logs.error('Could not find the tool %s in the remote repository' % x)
function_tokens: def update ( ctx ) : lst = Options . options . files . split ( ',' ) if not lst : lst = [ x for x in Utils . listdir ( Context . waf_dir + '/waflib/extras' ) if x . endswith ( '.py' ) ] for x in lst : tool = x . replace ( '.py' , '' ) try : Configure . download_tool ( tool , force = True , ctx = ctx ) except Errors . WafError : Logs . error ( 'Could not find the tool %s in the remote repository' % x )