I should have been more clear. The unitdata subcommand wasn't getting registered for chlp because in charmhelpers/cli/commands.py it was doing "from . import unitdata" to import charmhelpers/cli/unitdata.py to register the command but this import made it so charmheleprs.cli already had a unitdata attribute so it just used that instead of doing the import.
I should have been more clear. The unitdata subcommand wasn't getting registered for chlp because in charmhelpers/ cli/commands. py it was doing "from . import unitdata" to import charmhelpers/ cli/unitdata. py to register the command but this import made it so charmheleprs.cli already had a unitdata attribute so it just used that instead of doing the import.