pflag
pflag copied to clipboard
How to check which flag has been given as input in the cli?
If I've got multiple flags, say, like this:
--user="something"
--language="blah"
--starCount=2
....
...
...
then how to check which flag has been given input in the cli? Because different flag has different functionality.