def _process_args(self): if self.args.no_color == True: Color.disable() if self.args.command == "lvm": self.__lvm() elif self.args.command == "backup": self.__backup()
def __init__(self): args = Genesis.__parser().parse_args() if args.no_color: Color.disable() self.cmd = args.command self.cfg = SetupConfig.from_args(args)