Skip to content

Commit

Permalink
Add completions to uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
kylef committed Dec 24, 2015
1 parent eeb50b5 commit 4dbca33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libexec/swiftenv-uninstall
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env bash
# Uninstalls a Swift version
# completes

set -e

if [ "$1" = "--complete" ]; then
exec swiftenv-versions --bare
fi

VERSION=$1
if [ -z "$VERSION" ] ; then
echo "Usage: swiftenv uninstall <version>"
Expand Down

0 comments on commit 4dbca33

Please sign in to comment.