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

Implement glob option #2

Open
quantumsheep opened this issue Oct 28, 2018 · 2 comments
Open

Implement glob option #2

quantumsheep opened this issue Oct 28, 2018 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@quantumsheep
Copy link
Owner

Implement -g/--glob
Implement glob file searching

Command example
warshield encrypt -g "^[a].*$" will encrypt every files that start by the letter a.

@quantumsheep quantumsheep added help wanted Extra attention is needed hacktoberfest https://hacktoberfest.digitalocean.com/ labels Oct 28, 2018
@quantumsheep quantumsheep removed the hacktoberfest https://hacktoberfest.digitalocean.com/ label Nov 13, 2018
@prnthh
Copy link

prnthh commented Nov 26, 2018

Hey, I would like to look into this issue and give it a shot 👍

@quantumsheep
Copy link
Owner Author

quantumsheep commented Nov 26, 2018

Hey 👋 Sure, do as you please! I will gladly merge your modifications when you're done 😄

The implementation need to be in getFiles() method, that's the method that crawl files: it need to get a boolean to know if the directory parameter will be a glob. Then pass this argument from encryptRecursive()/decryptRecursive() and you're done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants