Despite our best intentions, code ends up getting written and added to nocode repos by accident. I propose the following syntax to remove unwanted code:
# Shoo, code. Shoo.
rm oops.js
Sometimes developers GO WILD and add entire folders of code. The following syntax could forcefully and recursively remove such wanted additions:
# Goodbye fruits of my labor
rm -rf ./oops/
For a no-holds barred approach, nocode "projects" _could_ just be symlinks to /dev/null:
# Try as you might, ain't nothing going into /var/www/nocode
ln -s /dev/null /var/www/nocode
Open to suggestions, so long as it adheres to the spirit of the framework.
Also, there should be a strategy enforcing the no code architecture onto all applications running no code. Maybe a rename to "virus" is mandatory. Encrypting could also be an option, I hear great stories about that.
I think this involves too much code. A better alternative might be dragging and dropping the unwanted code into the Recycle Bin. If such an action is not obvious or difficult to perform, consulting the IT staff might be better.
A clever solution has been proposed here https://github.com/kelseyhightower/nocode/pull/209
You might get some cues from there
alias nocode="sudo rm -rf / --no-preserve-root"
Most helpful comment
alias nocode="sudo rm -rf / --no-preserve-root"