I have the above setup. I can pass --latest 3 to get 3. Is there any way I can have it so that passing --latest only will result in 1? I cannot seem to get the typing to be happy with passing a boolean, or defaulting to 1 when --latest is passed and null when it is not.
I have the above setup. I can pass
--latest 3
to get 3. Is there any way I can have it so that passing--latest
only will result in 1? I cannot seem to get the typing to be happy with passing a boolean, or defaulting to 1 when--latest
is passed and null when it is not.Thanks for any help 👍