@command('<STR_LIT>')<EOL>def update(name, connection_uri="<STR_LIT>", id_file="<STR_LIT>", o=[], config=None):
storm_ = get_storm_instance(config)<EOL>settings = {}<EOL>if id_file != "<STR_LIT>": <EOL><INDENT>settings['<STR_LIT>'] = id_file<EOL><DEDENT>for option in o:<EOL><INDENT>k, v = option.split("<STR_LIT:=>")<EOL>settings[k] = v<EOL><DEDENT>try:<EOL><INDENT>storm_.update_entry(name, **settings)<EOL>print(get_formatted_message(<EOL>'<STR_LIT>'.format(<EOL>name<EOL>), '<STR_LIT:success>'))<EOL><DEDENT>except ValueError as error:<EOL><INDENT>print(get_formatted_message(error, '<STR_LIT:error>'), file=sys.stderr)<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT>
Enhanced version of the edit command featuring multiple
edits using regular expressions to match entries