Commit b53c37ea authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add --remove all support

parent c5ae0ab7
......@@ -396,7 +396,19 @@ case "$1" in
--remove|remove)
shift
__epm_play_remove "$@"
if [ -z "$1" ] ; then
fatal "run --remove with 'all' or a project name"
fi
local list
if [ "$1" = "all" ] ; then
shift
list="$(__list_installed_app)"
else
list="$*"
fi
__epm_play_remove $list
exit
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment