MobileNativeFoundation / MobileNativeFoundation/XCLogParser
Displaying the nearest matching/all available project names when no --project is found
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.9k
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
Right now, if you pass xclogparser the --project option and give it an incorrect project name, LogFinder throws an error
Error. There is no directory for the project \(name) in the DerivedData
folder in \(derivedDataDir.path). Please specify the path to the xcactivitylog
with --file or the right DerivedData folder with --derived_data
Would it be possible to include in the message the nearest matching/all projects available in the DerivedData directory? I would find this helpful if, for example, I incorrectly enter a --project name and don't easily have the ability to inspect the DerivedData directory.
Happy to submit a PR if so, just curious if that's intentionally been omitted and if this would be welcomed. Also - love the project - and thanks for publishing it!
Contributor guide
No contributing guide indexed for this repository
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 by locating LogFinder's handling of an invalid --project name and read how projects are found in the DerivedData directory. Done means the existing error identifies the nearest matching or all available project names when no project directory matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100