cli.build.roles_list package

Module contents

Compatibility wrapper.

This package was migrated from a flat module (roles_list.py) to a package layout:

roles_list/__main__.py contains the original implementation.

We re-export the public API so existing imports keep working.

cli.build.roles_list.find_roles(roles_dir: str)

Return sorted list of role names under roles_dir.

cli.build.roles_list.main()
cli.build.roles_list.write_roles_list(roles, out_file)

Write the list of roles to out_file as JSON.