Summary
A review comment on #7356 raised a follow-up product question about the default output for azd auth token.
Original review comment: #7356 (comment)
Context
The suggestion was to consider making azd auth token default to JSON output so that running the command with no --output flag behaves the same as --output json.
Why this matters
For users, the default output format affects how easy the command is to use in shells, scripts, and tooling:
- raw token output is convenient for command substitution and piping
- JSON output is convenient when callers need both the token and expiry metadata
Follow-up questions
- Should the default experience prioritize shell-friendly token output or machine-readable JSON?
- If the command keeps raw token output by default, do we want another affordance for richer output beyond
--output json?
- Do any docs or examples need to be updated once the default behavior is finalized?
Summary
A review comment on #7356 raised a follow-up product question about the default output for
azd auth token.Original review comment: #7356 (comment)
Context
The suggestion was to consider making
azd auth tokendefault to JSON output so that running the command with no--outputflag behaves the same as--output json.Why this matters
For users, the default output format affects how easy the command is to use in shells, scripts, and tooling:
Follow-up questions
--output json?