mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-12-23 11:50:07 +01:00
✨ Added prototype binary to switch quickly
This commit is contained in:
@@ -10,6 +10,8 @@ import Foundation
|
||||
|
||||
enum AllowedArguments: String, CaseIterable {
|
||||
case use = "use"
|
||||
case performSwitch = "switch"
|
||||
case help = "help"
|
||||
|
||||
static func has(_ string: String) -> Bool {
|
||||
return Self.allCases.contains { arg in
|
||||
|
||||
Reference in New Issue
Block a user