pflag icon indicating copy to clipboard operation
pflag copied to clipboard

How to check which flag has been given as input in the cli?

Open SamsadSajid opened this issue 5 years ago • 0 comments

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.

SamsadSajid avatar May 28 '19 05:05 SamsadSajid