Source code for license_updater.client.update
__author__ = "Vanessa Sochat"
__copyright__ = "Copyright 2022-2023, Vanessa Sochat"
__license__ = "MPL 2.0"
import license_updater.main.client as client
from .helpers import parse_updaters
[docs]def main(args, parser, extra, subparser):
cli = client.LicenseUpdater(quiet=args.quiet)
cli.update(
paths=args.paths,
details=not args.no_details,
updaters=parse_updaters(args),
ignore_patterns=args.ignore_patterns,
)