Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def run(args):
lbuild.logger.configure_logger(args.verbose)
lbuild.facade.VERBOSE_DEPRECATION = args.verbose
lbuild.format.PLAIN = args.plain
try:
command = args.execute_action
except AttributeError:
raise lbuild.exception.LbuildArgumentException("No command specified!")
builder = Builder(config=args.config, options=args.options, collectors=args.collectors)
return command(args, builder)
lambda: self.functions['init'](lf.ModuleInitFacade(self)))
lambda: self.functions["prepare"](lf.ModulePrepareFacade(self),
self.repository.option_value_resolver))
lambda: self._functions["prepare"](lf.RepositoryPrepareFacade(self),
self.option_value_resolver))
lambda: self._functions['init'](lf.RepositoryInitFacade(self)))
return Repository(self)
def facade_buildlog(self):
if self.stage == Parser.Stage.POST_BUILD:
return lf.BuildLogFacade(self.buildlog)
return None