Run a check for if the directory is too large
If someone mistakenly points to root or some gigantic directory they didn't mean to, it will just get clogged for a while. This needs a check for how large the file is- and maybe a loader too? I'm interested to hear people's opinions on this before I implement it for what the expected behavior should be.
Maybe check to see if the chosen directory is outside the PWD? Sort how you docker errors when you try to set the build context outside the pwd.
That way you don’t accidentally set ../
Just happened to me testing it out, ran it in my repo folder. How do you feel about a "[doing x with path], proceed?"-style confirmation? Maybe included in that is a one layer deep directory/file list?