def remove(ctx, **args): """remove a netgroup""" netgroup = Netgroup(cn) if netgroup.exists: netgroup.remove()