apple / apple/container

[Request]: UX - consistent argument handling and output in commands

Open
#646 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### Feature or enhancement request details

Commands that accept multiple arguments:

- Handle zero arguments consistently (either a no-op, or an error)
- Print processed resource IDs to stdout on success where applicable, and errors messages for failing resource IDs to stderr.
- Offer consistent format options where the output can take multiple formats.
- Exit with 0 on success, non-zero on failure (a separate error handling PR can deal with sensible error codes)

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.