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

[ENHANCEMENT] Make the project installable and give it a CLI entrypoint #135

Open
Kilo59 opened this issue Dec 3, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Kilo59
Copy link

Kilo59 commented Dec 3, 2023

Your issue may already be reported! Please search on the issue tracker before creating one.

Describe the solution you'd like
Once I install the software I should be able to call ankerctl (not python <PATH_TO_SOME .py file>) or some other command which should invoke the click application.
I should then be able to use this CLI from any directory as the installation process (setuptools, poetry, flit, etc.) will add the console entrypoint to the PATH.
https://setuptools.pypa.io/en/latest/userguide/entry_point.html#console-scripts
This is a standard setup for python click or CLI applications.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
This doesn't necessarily require the package to be uploaded to pypi but making it installable and adding a console entrypoint would be pre-requisite to making the application publishable.

I'd be happy to submit a pull request to implement this. It should be fairly trivial to implement even without knowing the codebase.

@Kilo59 Kilo59 added the enhancement New feature or request label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant