def upstore(args): """Update the store structure.""" from tiddlywebplugins.hoster.instance import store_structure from tiddlywebplugins.instancer import Instance from tiddlyweb.config import config instance = Instance('.', config) instance._init_store(store_structure)
def update(args): """Update all instance_tiddlers in the current instance.""" from tiddlywebplugins.instancer import Instance instance = Instance('.', config) instance.update_store()