Logo
Explore Help
Sign In
rock-n-code/colibri
1
0
Fork 0
You've already forked colibri
Code Issues Pull Requests Actions Releases 3 Activity
colibri/Library/Sources/Public/Enumerations/IDE.swift

21 lines
279 B
Swift
Raw Normal View History

Implemented the Open subcommand. (#9) This PR contains the work done to implement the `Open` subcommand to the `colibri` executable, which open a *Hummingbird* project with either Visual Studio Code or Xcode. Reviewed-on: https://repo.rock-n-code.com/rock-n-code/colibri/pulls/9 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-02-19 23:27:21 +00:00
public enum IDE: String {
case vscode
case xcode
}
// MARK: - Extension
extension IDE {
// MARK: Functions
static func random() -> IDE {
.allCases.randomElement() ?? .xcode
}
}
// MARK: - CaseIterable
extension IDE: CaseIterable {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 39ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API