I'd like to package shuttle-go and provide a default config, to make it runnable without requiring user's attention to finish setup. Package scripts can't touch user's $HOME, so the default config must be delivered somewhere else (and typically this is /etc/). That's why I'm suggesting to read the default config from /etc/shuttle-go.json when $HOME/.shuttle-go.json does not exists.
I'd like to package shuttle-go and provide a default config, to make it runnable without requiring user's attention to finish setup. Package scripts can't touch user's $HOME, so the default config must be delivered somewhere else (and typically this is /etc/). That's why I'm suggesting to read the default config from
/etc/shuttle-go.jsonwhen$HOME/.shuttle-go.jsondoes not exists.