--directory doesn't work
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Mac-2748:~ runner$ xcodes download 14.2.0 --directory=xc
Downloading with aria2 (/usr/local/bin/aria2c)
(1/1) Downloading Xcode 14.2.0+14C18: 99%
Xcode 14.2.0 has been downloaded to /Users/runner/Downloads/Xcode-14.2.0+14C18.xip
Mac-2748:~ runner$ ls xc
Mac-2748:~ runner$ rm Downloads/Xcode-14.2.0+14C18.xip
Mac-2748:~ runner$ xcodes download 14.2.0 --directory xc
Downloading with aria2 (/usr/local/bin/aria2c)
(1/1) Downloading Xcode 14.2.0+14C18: 99%
Xcode 14.2.0 has been downloaded to /Users/runner/Downloads/Xcode-14.2.0+14C18.xip
Mac-2748:~ runner$
file is stored in Downloads despite explicit --directory specified
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the xcodes download command and its --directory option, reproducing the example with Xcode 14.2.0. Trace where the download destination is selected and verify that the resulting .xip file is stored in the explicitly provided directory rather than ~/Downloads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100