a §2bã@sddlZGdd„dƒZdS)éNc@sDeZdZdd„Zdd„Zdd„Zdd„Zd d „Zd d „Zd d„Z dS)ÚCommandscCs g|_dS)N)Úcommands©Úself©rúBD:\workstation\expo\rust\letterman\mailcenter\deployer\commands.pyÚ__init__szCommands.__init__cCs|j d|dœ¡dS)NÚl)ÚtÚm©rÚappend)rr rrrÚlogsþz Commands.logcCs|j d|dœ¡dS)NÚe)r Úcr )rrrrrÚcommandsþzCommands.commandcCs|j d||dœ¡dS)NÚrp)r ÚwÚrr )rrrrrrÚreplys ýzCommands.replycCs|j ddi¡dS)Nr Úrer rrrrÚreadsÿz Commands.readcCs|j ddi¡dS)Nr Úprr rrrrÚprint sÿzCommands.printc Csî|jD]â}|ddkrjz| |d¡Wqèt |¡}z| |d¡WnYYqêYn0Yqè0q|ddkr˜t ||d|d¡}td|ƒq|ddkr°t |¡q|dd krÌtt |¡ƒq|dd krtd |d ƒqdS) Nr rrrrrzreply rrr z>>> r )rZ exec_commandÚexecuterÚ start_sessionrrr)rÚsessionÚsÚiZholdrrrÚexecute%s&         zCommands.executeN) Ú__name__Ú __module__Ú __qualname__rrrrrrrrrrrrsr)rrrrrrÚs