asciimoo / wuzz

Interactive cli tool for HTTP inspection
GNU Affero General Public License v3.0
10.54k stars 412 forks source link

Add requests popup view in current directory #136

Closed happsie closed 2 months ago

happsie commented 3 years ago

Open a popup view loading the files in the current directory (where wuzz was started). Select with up and down arrows and hit enter to load the request. Won't show directories

https://user-images.githubusercontent.com/17301180/110168642-c460bb80-7df7-11eb-925f-6366a25c72a9.mp4

asciimoo commented 3 years ago

Great feature, however the name "requests" is a bit confusing. Could you find a bit more specific and self describing name for this feature?

happsie commented 3 years ago

@asciimoo absolutely, I thought of renaming it but forgot before pushing. Would something like ListDirectoryView work? Im thinking since it's actually only listing the current working directory not filtering files. Maybe I should add a filter for .json and .curl files since those are the exported/imported options in wuzz?

asciimoo commented 3 years ago

ListDirectoryView sounds good to me. I wouldn't add filter by default, because it is possible to export files with different extension names.

happsie commented 3 years ago

Great, I'll modify my PR with changes discussed above. Thanks 🙏