def METHOD_NAME(self, _):
    with self.command_group('alias') as g:
        g.custom_command('create', 'create_alias', validator=process_alias_create_namespace)
        g.custom_command('export', 'export_aliases', validator=process_alias_export_namespace)
        g.custom_command('import', 'import_aliases', validator=process_alias_import_namespace)
        g.custom_command('list', 'list_alias')
        g.custom_command('remove', 'remove_alias')
        g.custom_command('remove-all', 'remove_all_aliases',
                         confirmation='Are you sure you want to remove all registered aliases?')
    return self.command_table