Skip to content

Conversation

@patricksanders
Copy link
Collaborator

@patricksanders patricksanders commented Jul 17, 2020

This PR adds a bunch of functions to repokid.lib that allow the CLI commands to be called from other Python code. For example:

from repokid.lib import display_role

display_role("123456789012", "superCoolRoleName")

As long as you have your config in the right place, you're good to go to start using Repokid as a library. 🎉

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.4%) to 61.436% when pulling 66470f5 on library-wrapper into 4ba6d54 on master.

@patricksanders patricksanders marked this pull request as draft July 17, 2020 21:55
@patricksanders patricksanders marked this pull request as ready for review July 22, 2020 21:29
@patricksanders patricksanders merged commit dd708c8 into master Jul 22, 2020
@patricksanders patricksanders deleted the library-wrapper branch July 22, 2020 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants