Filipe Constantinov Menezes
Filipe Constantinov Menezes
> Hi @fmenezes. Could you provide a description of what this PR does and if it aims to fix an existing issue. > > Thank you. Hi @marckhouzam, my mistake,...
> Is there an issue for this? > > Also, I noticed in the implementation that you call the `preRunE` then `preRun`; this is a bit different than the other...
I _think_ this PR addresses #798
@jpmcb my example lies on https://github.com/mongodb/mongodb-atlas-cli/blob/1c845fa25ad07e5c62266a91de8d14c348caca37/cmd/mongocli/mongocli.go#L100 for mongodb-atlas-cli we have to handle early exits ourselves and now that we are adding tracking capabilities we have to figure out which command...
tagging @jpmcb for copy review
doesn't https://github.com/spf13/cobra/pull/1654 solves this ?
Meta generated test will be red until atlascli 1.1.6 is released
@terbolous _I think_ I understand now, `MarkFlagsMutuallyExclusive` errors if in a group of flags (`flag1`, `flag2`, `flag3`) we set more than one (`flag1`, `flag3`) but does not error when all...
reopen
@wtrocki I've decided to embrace our ideas and for json input/ouput works like a charm, fully functional now