Following Issue 4695, I created a pull request for cli relation attribute support
https://github.com/devsecur/rfcs/blob/master/rfcs/0003-cli-generate-relations.md