blob: 7d99979af0d070b28d2008925ef90233e75442c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
##
## must be sourced in your interactive shell session before using vault files
## scripts should source common/utils and call the functions directly
##
source common/utils.sh
op="$1"
if [ -n "$op" ]; then
shift
fi
case $op in
activate|deactivate|set|get)
"vault_environment__$op" "$@"
;;
*)
print_error "unknown operation: '$op'"
;;
esac
|