Hi Mike,
1) "How does the publish work when you have 4 options? (folder, web server, docker, kubernetes)?"
dotnet publish - Publishes the application and its dependencies to a folder, refer to .NET CLI doc: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish
It can't help you to deploy files to the web server, docker, kubernetes by default, that's the IDE's job.
Alternatively, you can find some CLI tools to do all such things outside the SnapDevelop IDE.
E.g.:
You can use docker CLI: https://docs.docker.com/engine/reference/commandline/cli/
Kubernetes provides a command line tool: https://kubernetes.io/docs/reference/kubectl/
You can call OS CLI to copy the file to your IIS site's Physical path.
2) "I am guessing there are donnet.exe options for getting source code from git to do the build?"
Please try GitHub CLI: https://cli.github.com/
3) "It would be great to have some help/links that explain the options in snapdevelop building and publishing via command line"
SnapDevelop hasn't provided any special CLI tools. Please try the other CLI tools suggested above.
BTW:
You can see "PowerServer projects optimize the compilation and deployment process" in the roadmap: https://www.appeon.com/developers/roadmap
AFAIK, we are trying to implement the PowerServer Web API publishing feature in the PB IDE to make the deployment process easier. It may support some commonly publish methods such as Folder/FTP/WebDeploy at the first step. So you can also expect PBAutoBuild CLI to support these PowerServer Web API publish methods in the future.
Regards, Logan