Duplicated list command to later modify for listing outdated casks