Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse cli arguments and use them as UCI commands (#370)
Parse cli arguments and feed them to the engine as if they were uci commands. This allows to easily do: ```bash dotnet run -c Release "position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" "perft 5" dotnet run -c Release "position startpos" "go depth 6" ./Lynx.Cli.exe bench # etc. ``` There's a catch: you can't pass "exit" to terminate the execution at the end since `LynxDriver` reads the commands asynchronously in case a `stop` (or 'quit') are requested by GUIs, so that would happen immediately. So can't really create an action with this
- Loading branch information