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

Integration with existing click CLIs #11

Open
bilelomrani1 opened this issue Jan 30, 2023 · 1 comment · May be fixed by #12
Open

Integration with existing click CLIs #11

bilelomrani1 opened this issue Jan 30, 2023 · 1 comment · May be fixed by #12
Assignees
Labels
enhancement New feature or request

Comments

@bilelomrani1
Copy link

Hi, first of all, thank you this project looks really interesting. I've always struggled with Hydra as I find it a bit too intrusive to my taste, and difficult to integrate to an existing code base. I rather prefer your API's philosophy for my configuration.

There is however an issue that prevents me from using this library in an already existing project: I cannot see a way to integrate the CLI generated by sp.cli in my existing CLI. I already have a click CLI and in the current design, sp.cli generates a standalone CLI that cannot be integrated to an existing CLI.

click allows to arbitrarily nest various command line utilities so it would be very nice if springs was able to be nested in an existing CLI.

@soldni
Copy link
Owner

soldni commented Jan 31, 2023

Hi @bilelomrani1 ,

I have a work-in-progress PR at #12 . It does require a bit of re-factoring, but it should be possible to support click.

@soldni soldni linked a pull request Jan 31, 2023 that will close this issue
3 tasks
@soldni soldni self-assigned this Jan 31, 2023
@soldni soldni added the enhancement New feature or request label Jan 31, 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

Successfully merging a pull request may close this issue.

2 participants