SwiftCLI:在Swift中开发CLI的强大框架 源码
迅捷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 = [
文件列表
SwiftCLI-master.zip
(预估有个50文件)
SwiftCLI-master
.gitignore
37B
Sources
SwiftCLI
HelpCommand.swift
1KB
ArgumentList.swift
2KB
Path.swift
3KB
ArgumentListManipulator.swift
429B
Stream.swift
18KB
HelpMessageGenerator.swift
5KB
暂无评论