kachayev / nasus

Zero-configuration command-line async HTTP files server in Clojure. Like Python's SimpleHTTPServer but scalable.
MIT License
166 stars 9 forks source link

--exclude CLI option #8

Open kachayev opened 5 years ago

kachayev commented 5 years ago

The idea here is to be able to run the server as follows:

clj -m http.server --exclude "target/*" --exclude "*.cpp"

I'm not sure we need to support the entire set of glob features, probably "*" would be enough.