https://github.com/yutailang0119/xcopen
A tool to easily open a file of .xcodeproj, .xcworkspace or .playground by Xcode.
https://github.com/yutailang0119/xcopen
command-line-tool macos swift swift-package-manager xcode
Last synced: about 1 month ago
JSON representation
A tool to easily open a file of .xcodeproj, .xcworkspace or .playground by Xcode.
- Host: GitHub
- URL: https://github.com/yutailang0119/xcopen
- Owner: yutailang0119
- License: mit
- Created: 2018-05-04T11:27:28.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-07-09T13:35:45.000Z (over 4 years ago)
- Last Synced: 2025-11-18T10:09:31.910Z (4 months ago)
- Topics: command-line-tool, macos, swift, swift-package-manager, xcode
- Language: Swift
- Homepage:
- Size: 32.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xcopen
A tool to easily open a file of .xcodeproj, .xcworkspace or .playground by Xcode.
- [open] easily open a file of .xcodeproj, .xcworkspace or .playground.
- [list] explore files of .xcodeproj, .xcworkspace or .playground with a path.
## A Work In Progress
xcopen is still in active development.
## Installation
Download and install [the latest trunk Swift development toolchain](https://swift.org/download/#snapshots).
### [Mint](https://github.com/yonaskolb/mint)
```shell
$ mint install yutailang0119/xcopen
```
### From Source
```shell
$ git clone https://github.com/yutailang0119/xcopen
$ cd xcopen
$ make install
```
## Usage
### xcopen
```
OVERVIEW: Open file of .xcodeproj, .xcworkspace or .playground
USAGE: xcopen [options] subcommand [options]
OPTIONS:
--verbose Show more debugging information
--help Display available options
SUBCOMMANDS:
list Explore files of .xcodeproj, .xcworkspace or .playground
open Open file of .xcodeproj, .xcworkspace or .playground
```
#### open
```
OVERVIEW: Open file of .xcodeproj, .xcworkspace or .playground
OPTIONS:
--openFinder, -o Whether to open in Xcode or Finder
--path, -p Explore path. Defaults is current
POSITIONAL ARGUMENTS:
fileName Open file name like a Xxx..xcodeproj
```
#### list
```
OVERVIEW: Explore files of .xcodeproj, .xcworkspace or .playground
OPTIONS:
--path, -p Explore path. Defaults is current
```
## Author
[Yutaro Muta](https://github.com/yutailang0119)
- muta.yutaro@gmail.com
- [@yutailang0119](https://twitter.com/yutailang0119)
## License
xcopen is available under the MIT license. See the LICENSE file for more info.
This software includes the work that is distributed in the Apache License 2.0.