Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose library commands #46

Closed
andrewdea opened this issue Oct 14, 2024 · 3 comments
Closed

Expose library commands #46

andrewdea opened this issue Oct 14, 2024 · 3 comments

Comments

@andrewdea
Copy link
Contributor

Currently, the package is most useful as a CLI, but we cannot import most of its functionalities into python code.

I have created this PR to expose the most useful commands:

  • code_complexity to compute the complexity of any snippet (string) of code
  • file_complexity to compute the complexity of a file
@rohaquinlop
Copy link
Owner

@andrewdea would be great if we have this functions in the documentation, if you want you can add it, or I can do it if you want to.

@andrewdea
Copy link
Contributor Author

andrewdea commented Oct 17, 2024

@rohaquinlop great point! I'll go ahead and add docs today
tracking this here

@andrewdea
Copy link
Contributor Author

@rohaquinlop I think we can close this thanks to the merge.

Once we have the docs done, we'll be ready for a new release? Just checking if there's any additional steps

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

No branches or pull requests

2 participants