Add flags to optionally pass the build and run commands when using the CLI.