Build a Safe Python CLI on a Phone
Create a read-only file inventory tool with JSON output, validation and useful exit codes.
Mission
Create a read-only file inventory tool with JSON output, validation and useful exit codes.
Required work
- Parse arguments with clear help
- Reject missing or unsafe paths
- Produce deterministic JSON
- Test success, empty and permission-error cases
Evidence to produce
A tested CLI, sample output and failure-case report.
Quality checks
The result must name its sources, separate observation from assumption, preserve originals and explain limitations.