from awscli.customizations.utils import alias_command


def register_alias_opsworks_cm(event_emitter):
    event_emitter.register('building-command-table.main', alias_opsworks_cm)


def alias_opsworks_cm(command_table, **kwargs):
    alias_command(command_table, 'opsworkscm', 'opsworks-cm')
