implement dokku shell and ls (by @plietar). refs #312

This commit is contained in:
Michael Hobbs
2015-02-07 14:09:39 -08:00
parent b10120af12
commit 1cfb1fc3fc
5 changed files with 112 additions and 1 deletions

View File

@@ -33,6 +33,42 @@ dokku_log_info2_quiet() {
fi
}
dokku_col_log_info1() {
printf "%-40s %-40s\n" "-----> $@"
}
dokku_col_log_info1_quiet() {
if [[ -z "$DOKKU_QUIET_OUTPUT" ]];then
printf "%-40s %-40s\n" "-----> $@"
else
return 0
fi
}
dokku_col_log_info2() {
printf "%-40s %-40s\n" "=====> $@"
}
dokku_col_log_info2_quiet() {
if [[ -z "$DOKKU_QUIET_OUTPUT" ]];then
printf "%-40s %-40s\n" "=====> $@"
else
return 0
fi
}
dokku_col_log_msg() {
printf "%-40s %-40s\n" "$@"
}
dokku_col_log_msg_quiet() {
if [[ -z "$DOKKU_QUIET_OUTPUT" ]];then
printf "%-40s %-40s\n" "$@"
else
return 0
fi
}
dokku_log_verbose() {
echo " $@"
}