a ˆ#½e]ã@sLddlZddlZddlZddlmZddlmZdd„ZGdd„deƒZdS)éN)Ú BaseCommand)Ú build_pluginsc Cs¢tj tj tj tj t¡¡ddd¡¡}t tj |dddd¡¡D]}t |¡t d|ƒqDt tj |dddd¡¡D]}t |¡t d|ƒqzt dƒdS) Nz..Ú corepluginsz**ÚpublicZ node_moduleszR Úbuildz Cleanup done!) ÚosÚpathÚabspathÚjoinÚdirnameÚ__file__ÚglobÚshutilÚrmtreeÚprint)ÚrootÚd©rú1/webodm/app/management/commands/rebuildplugins.pyÚcleanups*  rcs(eZdZgZ‡fdd„Zdd„Z‡ZS)ÚCommandcstt|ƒ |¡dS©N)ÚsuperrÚ add_arguments)ÚselfÚparser©Ú __class__rrrszCommand.add_argumentscKstƒtƒdSr)rr)rÚoptionsrrrÚhandleszCommand.handle)Ú__name__Ú __module__Ú __qualname__Úrequires_system_checksrrÚ __classcell__rrrrrs r) rrr Údjango.core.management.baserÚ app.pluginsrrrrrrrÚs