#!/usr/bin/env python
# !-*- coding:utf-8 -*-

class Menu:

def __init__(self):
pass

def updateProject(self):
pass

def restartProject(self):
pass

def restartTomcat(self):
pass

def stopTomcat(self):
pass

def startTomcat(self):
pass

def methods(self):
return(list(filter(lambda m: not m.startswith("__") and not m.endswith("__") and callable(getattr(self, m)), dir(self))))

if __name__ == '__main__':
print(Menu().methods())

  

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。