Introduce CliAction to abstract cli action.