mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #448] Feature request #129
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @migueldeicaza on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/448
Originally assigned to: @rudrankriyam on GitHub.
Would it be possible to have an environment variable like ASC_DEFAULT_OUTPUT so it is easier to learn to use the API, without having to put --output table on each one?
@rudrankriyam commented on GitHub (Feb 8, 2026):
@cursoragent please implement this; we already have environment variables setup for other things; this will be a great addition
@cursor[bot] commented on GitHub (Feb 8, 2026):
Here's a summary of what was implemented:
Added
ASC_DEFAULT_OUTPUTenvironment variable that lets users set a global default output format instead of passing--output tableon every command.shared.DefaultOutputFormat()ininternal/cli/shared/shared.goreadsASC_DEFAULT_OUTPUTand returns the validated format. Valid values:json,table,markdown,md(case-insensitive, whitespace-trimmed). Invalid values emit a single warning to stderr and fall back tojson.shared.DefaultOutputFormat()instead of the hardcoded"json"default for the--outputflag.sync.Onceso the env var is read once per process, preventing duplicate warnings and redundantos.Getenvcalls.json, all valid values, case insensitivity, whitespace handling, and invalid-value warning + fallback.AGENTS.mdandREADME.mdenvironment variable tables.Usage:
export ASC_DEFAULT_OUTPUT=tableand all commands will default to table output. Explicit--outputflags still override the env var.@rudrankriyam commented on GitHub (Feb 8, 2026):
For learning the API, the best way is to ask your agent to use
--helpon the commands, but I agree, looking at the output really helps. This actually aligns with this refactor I was doing for table/markdown #444@rudrankriyam commented on GitHub (Feb 8, 2026):
Solved! Update the table formatting too!
@migueldeicaza commented on GitHub (Feb 8, 2026):
Wooohoo! Thanks!