Skip to content

Commit

Permalink
feat: add option to clean project
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Apr 28, 2022
1 parent 9845051 commit 8e381bd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion calliope.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ usage ()
-g <file to encrypt>
encrypt a file
-x
clean folder: remove temporary files, and any unencrypted files
if encryption is enabled
EOF
}
Expand All @@ -538,7 +542,7 @@ if [ "$#" -eq 0 ]; then
exit 0
fi
while getopts "evLltca:A:hp:s:E:V:k:CG:g:" OPTION
while getopts "evLltca:A:hp:s:E:V:k:CG:g:x" OPTION
do
case $OPTION in
t)
Expand Down Expand Up @@ -617,6 +621,11 @@ do
encrypt "$OPTARG"
exit 0
;;
x)
clean
remove_unencrpyted
exit 0
;;
?)
usage
exit 0
Expand Down

0 comments on commit 8e381bd

Please sign in to comment.