-
Notifications
You must be signed in to change notification settings - Fork 447
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
The process of executing formatting (also other) commands using SwiftSyntax development utilities has become a point of contention due to its complexity. The command:
swift run --package-path SwiftSyntaxDevUtils/ swift-syntax-dev-utils format
is lengthy and not easily memorized, which can deter its frequent use. This hampers the workflow efficiency.
Reflecting on the ease of the old ./format.py
command, there's a clear need for a more streamlined approach. The proposal for a root-level shell script that encapsulates the verbose command into a more manageable form is commendable. With such a script, developers could run a much simpler command:
./swift-syntax-dev-utils format
or
./dev-utils format
Implementation Goals:
- Craft a shell script that acts as a gateway for the current complex commands.
- Make sure the script can accept and correctly pass through arguments to the SwiftSyntax development utilities. All commands should be handled; it would be beneficial to also handle
help
command. - Update the project documentation to guide contributors on the usage of the new streamlined command.
Originally posted in a #2334 (comment)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers