[misc] Code cleanup. Moved dependencies from exports scope onto resource scope.
[cli] Code cleanup. Show all commands, not just resource names.