aztfexport icon indicating copy to clipboard operation
aztfexport copied to clipboard

Options should be specified before command and/or scope

Open MohnJadden opened this issue 2 years ago • 1 comments

It doesn't make much sense that we have to specify the command, then any options - especially --use-azure-cli-cred - before we specify the scope. If we're using CLI creds or a service principal, we're going to want to specify that before anything else, as with any other options that aztfexport should be doing.

Commands that start with -- should be specified at the start, or at least made in a way that any command starting with -- can be specified at any point when we run the exe.

MohnJadden avatar Jun 02 '23 15:06 MohnJadden

@MohnJadden This will be supported once https://github.com/urfave v3 releases.

magodo avatar Jun 03 '23 01:06 magodo