You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What about creating a zap function and a --help flag to show zap options such as:
# From the CLI
$ zap update plugin_name
$ zap update all
$ zap delete plugin_name
$ zap pause plugin_name
$ zap source plugin_name
$ zap ...
Then have this added to the zap script
# zap function that takes one or two arguments
function zap() {
if [ -f $1 ]; then
case $1 in
update) git pull https://github.com/$2 ;;
delete) rm -rf ~/.local/share/zap/plugins/$1 ;;
...
...
*) echo "'$1' cannot be found in zap plugins" ;;
esac
else
echo "'$1' is not a valid plugin"
fi
}
No description provided.
The text was updated successfully, but these errors were encountered: