Swiftpack.co - griffin-stewie/xopen-cli as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by griffin-stewie.
griffin-stewie/xopen-cli v1.8.7
xopen command helps you open your project using Xcode.
⭐️ 4
🕓 1 year ago
macOS
.package(url: "https://github.com/griffin-stewie/xopen-cli.git", from: "v1.8.7")

xopen-cli

xopen command helps you open your project using Xcode.

Example

most of case you develop Apple Platform Apps,

$ cd <your repository's root directory>
$ xopen

That's it.

xopen automatically discovers files like Package.swift, xcworkspace and .xcodeproj Breadth-First Search algorithm.

Extras

I would pick up some features that I love. If you want to know other options of xopen, please check xopen --help or xopen <subcomand> --help.

.xcode-version

xopen will determine the version of Xcode to use according to the version listed in the .xcode-version file. If you are developing multiple projects and each project is using a different version of Xcode, you will no longer be using the wrong Xcode version. You can simply run the xopen command and it will open the project in the appropriate Xcode.

You can open your project using --use option as well. The arguments of --use are beta, latest and semantic version string.

histories

xopen has a subcommand called history which just prints file paths you recently open by xopen. Do you know how effective this is? When used with a filtering tool like peco, you can easily open the desired project in Xcode with incremental search, no matter where you are in the directory.

How to install

xopen contains x86_64 and arm64 architectures both supports.

Homebrew

brew install griffin-stewie/formulae/xopen-cli

Manual

Download release_binary.zip and unzip & put xopen command wherever you like.

GitHub

link
Stars: 4
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.8.7
1 year ago

What's Changed

Full Changelog: https://github.com/griffin-stewie/xopen-cli/compare/v1.8.6...v1.8.7

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics