Is your feature request related to a problem? Please describe.
Currently, supabase places cache files in $HOME/.supabase/. I like to keep my home directory clean and would like to move this folder to $XDG_CACHE_HOME/supabase.
Other cli programs allow me to make this change. For example, cargo's cache directory defaults to $HOME/.cargo/ but uses CARGO_HOME to allow it to be moved. Npm allows setting its cache directory $HOME/.npm through npm config set cache ....
Describe the solution you'd like
Use an environment variable for supabase cli's cache directory. Following your existing SUPABASE_WORKDIR variable's form, I recommend SUPABASE_CACHEDIR.
Describe alternatives you've considered
Add a command that configures this in the same way as npm. However, I think this is less straightforward than an environment variable.
Is your feature request related to a problem? Please describe.
Currently, supabase places cache files in
$HOME/.supabase/. I like to keep my home directory clean and would like to move this folder to$XDG_CACHE_HOME/supabase.Other cli programs allow me to make this change. For example, cargo's cache directory defaults to
$HOME/.cargo/but usesCARGO_HOMEto allow it to be moved. Npm allows setting its cache directory$HOME/.npmthroughnpm config set cache ....Describe the solution you'd like
Use an environment variable for supabase cli's cache directory. Following your existing
SUPABASE_WORKDIRvariable's form, I recommendSUPABASE_CACHEDIR.Describe alternatives you've considered
Add a command that configures this in the same way as npm. However, I think this is less straightforward than an environment variable.