warshield
warshield copied to clipboard
Implement glob option
Implement -g/--glob Implement glob file searching
Command example
warshield encrypt -g "^[a].*$" will encrypt every files that start by the letter a.
Hey, I would like to look into this issue and give it a shot 👍
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!