swiftuml:从快速的源代码生成plantuml类图的脚本

时间:2024-06-14 12:20:38
【文件属性】:

文件名称:swiftuml:从快速的源代码生成plantuml类图的脚本

文件大小:209KB

文件格式:ZIP

更新时间:2024-06-14 12:20:38

swift plantuml diagrams sourcekitten swift-source

Swift转到PlantUML 使用SourceKitten和PlantUML从快速的源代码生成UML类图。 用法 sh plantuml.sh demo.swift 如果您现在想在多个文件上运行,可以执行以下命令行功夫操作,如下所示 ls -d "/directory/full/of/swift/files/"* | xargs -L 1 sh plantuml.sh | pbcopy 或者如果您列出具有全路径的文件 cat ~/Downloads/listOfFilesWithFullPath.txt | xargs -L 1 | xargs -L 1 sh plantuml.sh | pbcopy 一旦它的一切复制到剪贴板(MacOS的),你可以将其粘贴在文本编辑器取代多个@startuml和@enduml块,并在底部具有在顶部只有一个startuml和enduml sh


【文件预览】:
swiftuml-master
----plantuml.js(5KB)
----plantuml.sh(679B)
----kitchensink.swift(8KB)
----screenshot.png(157KB)
----tmp()
--------sink.jq.json(8KB)
--------sink.plantuml.txt(3KB)
--------sink.sourcekitten.json(85KB)
----demo.swift(5KB)
----samplecodes()
--------24-AccessControl.swift(5KB)
--------08-Enumerations.swift(3KB)
--------22rotocols.playground.swift(14KB)
--------25dvancedOperators.playground.swift(5KB)
--------01-TheBasics.swift(7KB)
--------15-Deinitialization.swift(1KB)
--------12-Subscripts.swift(1KB)
--------05-ControlFlow.swift(7KB)
--------20-NestedTypes.swift(1KB)
--------21-Extensions.swift(3KB)
--------02-BasicOperators.swift(3KB)
--------09-ClassesAndStructures.swift(3KB)
--------19ypeCasting.playground.swift(3KB)
--------14-Initialization.swift(14KB)
--------16-AutomaticReferenceCounting.swift(6KB)
--------06-Functions.swift(5KB)
--------23-Generics.swift(7KB)
--------17-OptionalChaining.swift(4KB)
--------07-Closures.swift(4KB)
--------18-ErrorHandling.swift(6KB)
--------13-Inheritance.swift(1KB)
--------11-Methods.swift(3KB)
--------04-CollectionTypes.swift(5KB)
--------03-StringsAndCharacters.swift(8KB)
--------10-Properties.swift(5KB)
----README.md(5KB)
----temp.md(4KB)

网友评论