feat: add ability to report domains globally

The `domains` command previously had this functionality, but is deprecated, and thus we should provide an alternative method of presenting the information.
This commit is contained in:
Jose Diaz-Gonzalez
2019-04-16 21:23:45 -04:00
parent 8a56740a7c
commit 887c0ebdd6
3 changed files with 30 additions and 7 deletions

View File

@@ -191,6 +191,11 @@ teardown() {
echo "status: $status"
assert_success
run /bin/bash -c "dokku domains:report --global"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "dokku domains 2>/dev/null | egrep -qw '^global.dokku.me\$'"
echo "output: $output"
echo "status: $status"