迅捷CLI 一个强大的框架,用于在Swift中开发从最简单到最复杂的CLI。 import SwiftCLI class GreetCommand : Command { let name = " greet " @Param var person : String func execute () throws { stdout <<< " Hello \( person ) ! " } } let greeter = CLI ( name : " greeter " ) greeter. commands = [