#NEWLINE# @ cli . command ( 'edit' ) #NEWLINE# @ common_profile_params #NEWLINE# @ click . argument ( 'name' ) #NEWLINE# @ pass_context #NEWLINE# def edit_profile( ctx , name , **kwargs ) : #NEWLINE# #INDENT# 'Updates a profile on openconnect.' #NEWLINE# if ( not ctx . profile_manager . profile_exists ( name ) ) : #NEWLINE# #INDENT# raise click . UsageError ( ( 'The profile "%s" does not exist.' % name ) ) #NEWLINE# #UNINDENT# update_profile ( ctx . profile_manager , name , kwargs )