tractordev / wanix

Experimental, local-first, web-native, Unix-like development environment
https://wanix.sh
MIT License
206 stars 11 forks source link

Glob expansion #59

Closed catilac closed 5 months ago

catilac commented 6 months ago

I wrote a first attempt here. I think I could leverage the stuff in util.go for the environment variables, but decided not to. Is this direction reasonable? I'm trying to figure out how robust it all needs to be.

progrium commented 6 months ago

It's a start! One thing I noticed is that this only supports variables that are standalone arguments. We could better support bash style variables (including modifiers) using @mgood's https://github.com/mgood/go-posix

catilac commented 6 months ago

ah cool! thanks for looking. i'll take a look at that library!

catilac commented 6 months ago

references issue #41

progrium commented 5 months ago

Just getting to this. At a glance it looks good. @Parzival-3141 wanna review and merge?