phpctl
phpctl copied to clipboard
Improve install/uninstall scripts for non-root
I've changed the (un)install scripts so that they are a bit more robust
- You can now use options like -i and -s to explicitly set the install directory or the symlink path
- it can create symlinks without
sudoif the current user has permission to do so on the target symlink path - ensure that the target symlink path exists so we don't get cryptic errors if the user forgot to
mkdir. - you can now install phpctl from a local repo with
-l, mostly useful when you already cloned this repo and don't want to fetch from github - use
tputfor terminal colors if possible - can now uninstall without sudo
Also:
- remove the
phtpctl.devreference from install.md since that URL is no longer accessible (See #49) - add an editorconfig just so my IDE/shfmt won't try to change every single whitespace indent