XcodesOrg / XcodesOrg/xcodes

--directory doesn't work

Open
#303 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.