[BUG] `--minify` option for `amber build` seems to do nothing
--minify Minify the output file
I never used the option, but it seems to do nothing.
It was introduced to strip all the comments
We can remove it entirely (I don't use it) or make it so that it makes the generated output obfuscated.
Although I think I'm against obfuscating Bash. It should be readable for external users what it does.
I thought it is useful for cloud-init's user data format which has a size limit based on cloud platforms.^1 but on the same way, of course, it supports compressed user data,^2 making minifying not necessary. I don't know any other useful case now. But I think there can be a possibility it is useful.
Well I think that minify can improve to minify the bash code generated like a lot of enterprise scripts does.
I see that we're a bit divided on this. Let's leave it util we see what the community prefers.