Create (and destroy) system users for the purpose of hosting documentation.
- Deploy to /usr/local/lib/docs-user
- ln -s /usr/local/lib/docs-user/docs-user /usr/local/bin/docs-user
Comes with command completion (via make-do). So, TAB-TAB your way to glory.
Note, any operation will require the USER_NAME variable be set. Command completion is a bit clumsy without it being set, so exporting the variable is recommended.
You can also customize the behaviour by setting PUBLIC_HTML
or USER_HOME
.
USER_NAME=grav docs-user create-user
USER_NAME=grav docs-user destroy-user
USER_NAME=grav docs-user facls
This is a make-do module: https://github.com/ginkgostreet/make-do.git