U 2b@sddlZGdddZdS)Nc@sDeZdZddZddZddZddZd d Zd d Zd dZ dS)CommandscCs g|_dS)N)commandsselfrF/mnt/d/workstation/expo/rust/letterman/mailcenter/deployer/commands.py__init__szCommands.__init__cCs|jd|ddS)Nl)tmrappend)rr rrrlogsz Commands.logcCs|jd|ddS)Ne)r cr )rrrrrcommandszCommands.commandcCs|jd||ddS)Nrp)r wrr )rrrrrrreplys zCommands.replycCs|jddidS)Nr rer rrrrreadsz Commands.readcCs|jddidS)Nr prr rrrrprint szCommands.printc Cs|jD]}|ddkrjz||dWqt|}z||dWnYYqYnXYqXq|ddkrt||d|d}td|q|ddkrt|q|dd krtt|q|dd krtd |d qdS) Nr rrrrrzreply rrr z>>> r )r exec_commandexecuter start_sessionrrr)rsessionsiZholdrrrexecute%s&         zCommands.executeN) __name__ __module__ __qualname__rrrrrrr rrrrrsr)rrrrrrs