add a new validate command for CLI mode