Add usage of custom datasources to the `list-resources` and `list-versions` commands, similar to the `check` command.