IMPORTANT: execute command was not tested for windows os.
The goal of this project is for my personal learnings and utility. Thus, I did my best to minimize the layers of abstractions through avoiding the use of libraries that others have developed.
For example, there is a much better implementation of traversing through directories than the one I wrote - that being what is available in the walkdir crate. Although I would have benefited greatly if the goal of this project was the build a tool that was the most production ready and efficient as possible. However, since this project mainly focused on honing my programming acumen, it made sense not to use that crate - despite it provided better tooling that what I was able to build.
There are three commands for executor: execute, search, and delete.
Usage: executor execute [OPTIONS] --fname <FNAME>
Options:
-f, --fname <FNAME> Name of the file to execute
-p, --path <PATH> Optional: Path to the root directory to begin the file execution search. root directory to initiate execution search
-d, --depth <DEPTH> Optional: Give the depth of the execution search default will search through all nested directories of the root
-h, --help Print help
Usage: executor search [OPTIONS] --regex <REGEX>
Options:
-r, --regex <REGEX> Name of the file to execute (supports regex)
-p, --path <PATH> Optional: Path to the root directory to begin the search. root directory to initiate deletion search
-d, --depth <DEPTH> Optional: Give the depth of the search default will search through all nested directories of the root
-h, --help Print help
Usage: executor delete [OPTIONS] --fname <FNAME>
Options:
-f, --fname <FNAME> Name of the file to execute
-p, --path <PATH> Optional: Path to the root directory to begin the file deletion search. root directory to initiate deletion search
-d, --depth <DEPTH> Optional: Give the depth of the deletion search default will search through all nested directories of the root
-h, --help Print help