I'm trying to implement a string option that can have three states:
- Not supplied
- No value
- Empty or value
I want to do the following:
MyApp.exe writes unformatted output to standard output
MyApp.exe --json writes JSON formatted output to standard output
MyApp.exe --json file.json writes JSON formatted output to file.json
Is this currently possible?
I'm trying to implement a string option that can have three states:
I want to do the following:
MyApp.exewrites unformatted output to standard outputMyApp.exe --jsonwrites JSON formatted output to standard outputMyApp.exe --json file.jsonwrites JSON formatted output tofile.jsonIs this currently possible?