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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor for use in other Python tools? #1

Open
ewels opened this issue Apr 3, 2022 · 2 comments
Open

Refactor for use in other Python tools? #1

ewels opened this issue Apr 3, 2022 · 2 comments

Comments

@ewels
Copy link

ewels commented Apr 3, 2022

This tool looks amazing 馃ぉ

Any chance of a slight refactor so that I can import it into my tool and use it to render diffs that I already have as strings? At the moment it looks like the stdin is hard-coded..

@darrenburns
Copy link
Owner

Thanks! 馃槃

Yes, I'll be refactoring (probably quite extensively) to enable support for things like this after I've finalised the output format and handled some edge cases and missing output.

@ewels
Copy link
Author

ewels commented Apr 3, 2022

Excellent stuff! 馃憦馃徎 Getting my requests in early! 馃槄 Let me know if a PR would be useful (I guess not at this stage assuming you have big plans already).

I've used Delta for a while, but never been able to use it within tools as it's not a Python package. Excited to have a play with Dunk 馃榿

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