def METHOD_NAME(args):
    for theme_dir in args.theme_dirs:
        local_themes = (
            list_subdirectories(theme_dir) if "all" in args.themes else args.themes
        )
        for theme in local_themes:
            theme_path = os.path.join(theme_dir, theme)
            if os.path.exists(theme_path):
                for system in args.systems:
                    print(
                        "Compiling {} sass assets from theme {}...".format(
                            system, theme_path
                        )
                    )
                    assets._compile_sass(system, Path(theme_path), False, False, [])