I'm using the Solutions manager mostly, but I was wondering how to run commands from the saf-cli. For that I need to launch "saf.exe" from the virtual environment where it is installed, so I was wondering where to find it ?
The saf-cli virtual environment is installed here:
%AppData%\Code\User\globalStorage\ansys.solutions-init
To launch a command from Powershell, like in the terminal in VS Code, you can use this (replace SOLUTION-NAME with your solution name): & "$env:APPDATA\Code\User\globalStorage\ansys.solutions-init\saf-cli-venv\Scripts\saf.exe" execute SOLUTION-NAME "poetry update"
Here we will trigger a poetry update command.