How can I create administration panel roles programmatically

i just write them directly to the db via an external migration tool and bypass strapi entirely