Flesh out basic structure of action plugins

This commit is contained in:
2013-10-21 01:31:58 +01:00
parent fad6369ba7
commit 8325708849
2 changed files with 26 additions and 2 deletions

View File

@@ -1,3 +1,15 @@
dotify-action-git() { dotify-action-git() {
echo "git: $@" if [ "$DOTIFY_RUN_MODE" == "install" ]; then
dotify-action-git-install $@
elif [ "$DOTIFY_RUN_MODE" == "uninstall" ]; then
dotify-action-git-uninstall $@
fi
}
dotify-action-git-install() {
echo "git install: $@"
}
dotify-action-git-uninstall() {
echo "git uninstall: $@"
} }

View File

@@ -1,3 +1,15 @@
dotify-action-link() { dotify-action-link() {
echo "link: $@" if [ "$DOTIFY_RUN_MODE" == "install" ]; then
dotify-action-link-install $@
elif [ "$DOTIFY_RUN_MODE" == "uninstall" ]; then
dotify-action-link-uninstall $@
fi
}
dotify-action-link-install() {
echo "link install: $@"
}
dotify-action-link-uninstall() {
echo "link uninstall: $@"
} }