[FEATURE REQUEST] Generate Xcode project and launch from cli

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
bash, go, swift
Domain
cli

Research direction

Start by tracing the CLI entry point for exercism download and how Swift exercise directories are returned. Compare that flow with swift package generate-xcodeproj and open in the supplied script, then define the command behavior and verify that a downloaded Swift exercise can generate its Xcode project and launch successfully.

Written by the indexing model from the issue text.

Description

I have created a script to download, generate Xcode project files and launch the exercise in Xcode for items on the swift track:

#! /bin/bash
OUTPUT=$(exercism download --exercise=$1 --track=swift | tail -1)
cd $OUTPUT
OUTPUT=$(swift package generate-xcodeproj | tail -1)
OUTPUT=${OUTPUT##generated:}
open $OUTPUT

I was wondering if something like this might/could be included natively in the cli?

Dominant language
Go
Stars
1.4k
Forks
363
Avg merge
6d 13h
Merged PRs (30d)
2

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.

More from exercism/cli

All issues in exercism/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.