migrate from metric to command