Contents

sourceCodeFormatting()

The plug-in formats source code.

Declaration

static func sourceCodeFormatting() -> PluginCommandIntent

Return Value

A PluginCommandIntent instance.

Discussion

The intent of the command is to modify the source code in the package based on a set of rules. Invoked by a format-source-code verb to swift package.

See Also

Creating a Command Intent