misc.py 268 B

1234567891011121314151617
  1. from setux.logger import silent
  2. from setux.core.action import Runner
  3. class Pinger(Runner):
  4. @property
  5. def labeler(self):
  6. return silent
  7. @property
  8. def label(self):
  9. return 'ping'
  10. def deploy(self):
  11. return self.target.ping()