-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Added recursion support #58
Conversation
Can I get a screenshot to see what this looks like, pls? 💖 |
Do you think it'd be better if we printed what file it came from in the table as a new column? |
Oo that's a good idea but I don't think there is enough space to add another column. Maybe a separate table for each file would be better? |
Why not? Most lines continue onto the next line if its too long? 😄 |
Okay @bee-san I think this PR is done now. I have reverted all of the changes to tests, so they all work as before. Also pyWhat is now searching filenames, so if there is a file found with recursion that has a CTF flag in the name, pyWhat will be able to identify it. :D |
Conflicting merge issues 😢 Did you say that links didn't work on this PR? 🙏🏻 |
Just saw the new release yes, so will fix them! 😁 About the links, this issue is affecting the latest version of pyWhat and not only this PR. Links only work for some terminals - I tested in Arch and Kali, and they do not open the full URL but only the visible part. This PR is not causing this but when tests broke, I noticed that links do not open for me. Here is a screenrecording from Kali, running pyWhat from PyPi, so you can see what is happening: github-issue.mp4 |
I have fixed almost every test, but as soon as I add recursion support, filtration brakes. I just cannot get my head around why.. Could you @piatrashkakanstantinass please take a look at this as you have written filtration? 🥺 If I run |
This is actually very normal and quite expected, hyperlinks are not supported in all terminals. This is why it is essential that we show the full link with no cut-off or new lines to make it work everywhere :) |
What if we removed:
So there was more space? Or we changed the wording? |
Want to search the whole folder and see what all of the files in that folder contain? pyWhat can now do exactly that!
Filename
row (if input is only text, this row is not there)True
toidentify()
like thisidentify("file.txt", True)
--help
command