Skip to content

orta/SPMModuleInterface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPMModuleInterface

A Swift PM module for extracting a module interface overview shown in Xcode

~/d/p/o/s/l/SwiftModuleRef  $ swift run module-docs SwiftModuleRef

Generating interface for: SwiftModuleRef
1. Updating the Swift PM Xcode Project
2. Grabbing your Xcode settings
3. Printing module interface:

import Foundation
import Logger
import SourceKittenFramework
import SwiftOnoneSupport

public func generateInterface(module: String, logger: Logger.Logger) throws -> String

by using SourceKitten to talk to SourceKit.

I expect there to be 2 outputs: Plaintext like above which works, and HTML which will have divs and ids etc.

About

A Swift PM module for extracting a module interface overview shown in Xcode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages