We use the CommandLineParser NuGet package.
The console projects uses default settings with a few modifications and does not save settings.
Command-line support is not very stable. Please report any bugs you find.
Why a separate Console app?
There are many issues related to using a WPF application as a console app.
- WPF applications don't block the console. So, we cannot use it for scenarios like wait till capture is completed.
- Writing to console does not work by default
AttachConsoleis used, the written content interferes with console prompt.
- And more ...
Command-line parameters for UI version
|--reset||Reset all Settings|
|--tray||Starts minimized to System Tray|
|--no-persist||Don't Save any changes in Settings|
|--no-hotkey||Don't Register Hotkeys.|
|--settings||Custom settings folder|
e.g. Start captura minimized to tray