-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Area: Other / Not sure
Problem or use case
--plain and --no-header are only available on run list. Other list commands (job list, agent list, project list, queue list, pool list) require --json + jq for scripting, which is heavier.
Proposed solution
Add --plain (tab-separated output) and --no-header to all list commands for consistency:
# Works today
tc run list --plain --no-header | awk '{print $2}'
# Should also work
tc job list --plain --no-header | awk '{print $1}'
tc agent list --plain --no-header | awk '{print $1}'
tc queue list --plain --no-header | awk '{print $1}'
tc project list --plain --no-header | awk '{print $1}'
tc pool list --plain --no-header | awk '{print $1}'Alternatives considered
Using --json + jq works but is verbose for simple field extraction in shell scripts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request