While there are ways to run WinForms projects/binaries on other platforms than Windows, It would be nice to have an easier cross-platform option, like a CLI tool, more akin to what Linux users would expect.
I suggest to split the logic from the WinForms implementation and have a second project for the CLI logic. They will both share the logic of course.