add framework for sub-command post