-
Notifications
You must be signed in to change notification settings - Fork 58
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
Cli version #6
Comments
Hey, that's an amazing idea. Would be an awesome experiment. What features do you think it should have? |
I think it should be as simple as possible and only pass the exact same options as the library. Most importantly, being able to pipe from either stdin or stdout. As for implementation - there's probably 2 options:
Then....you might have to decide if you want to support Windows and create a .bat-wrapper Just some thoughts :) |
I was thinking the same thing. There are about 5 options in the library. We can have a flag for each.
The app would print a plain output to stdout and be able to take in input from stdin (of course).
I think we shouldn't pollute the actual library. I will make a separate repo for the cli. I want to keep it zero dependency though so might have to do some basic parsing by hand. Shouldn't be too hard. Once it's done, it can be published on npm and be used by anyone.
That can be done, I think. First let's focus on getting the feature-set done. |
Looks like somebody beat you to it with your own library 😄 glob-searcher. "Great minds think alike" I guess. |
@JohnFitz 🤣🤣 yes that is true. But it's a little bit different. I will be publishing the CLI version very soon. It's barebones but does everything you'd want it to; dumping the file paths to stdin. |
Superb! Can't wait to see it.
…On Mon 1 Jun 2020, 17:53 Abdullah Atta, ***@***.***> wrote:
@JohnFitz <https://github.com/JohnFitz> 🤣🤣 yes that is true. But it's a
little bit different.
I will be publishing the CLI version very soon. It's barebones but does
everything you'd want it to; dumping the file paths to stdin.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQAKCO6DWMET7MQBYAC6I3RUPMH5ANCNFSM4LMRDX3A>
.
|
Hi. It's "apanzzon" from Reddit ;-)
A fdir-cli version would be interesting.
Due to corona chaos, I currently have very little spare time.
Would avoid using a framework, to avoid dependencies, or split it up to a secondary repo
The text was updated successfully, but these errors were encountered: