-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Sketch] Supplemental discussion #479
base: main
Are you sure you want to change the base?
Conversation
I'm kinda liking |
I think |
Hey! 👋 Is this skech pull request somehow related to #159? |
Yep this would close that issue once fleshed out and merged. |
89bedad
to
ae645fb
Compare
- The name of "GenerateManualPlugin" was changed to "Generate Manual" to improve the plugin's display name in Xcode. This however results in the `.pluginWorkDirectory` provided by SPM to include a space (' ') in the path. The space in the output path by itself is not a deal breaker, but unfortunately `man` (at least on macOS) does not properly handle path arguments with spaces. Example: ```shell ➜ swift package generate-manual ... Generating manual for roll... Generated manual in '.build/plugins/Generate Manual/outputs/roll' ... ➜ man '.build/plugins/Generate Manual/outputs/roll/roll.1' /usr/bin/man: line 413: cd: .build/plugins/Generate: No such file or \ directory ``` IMO, easily previewing the generating manual takes precedence over the UI in Xcode; as a result, this commit partially reverts the plugin's name to "GenerateManual" to hopefully provide a good middle ground of an output path without a space and a display name in Xcode that is a little easier on the eyes than "GenerateManualPlugin" was.
- IDEA: additional discussion for commands and arguments which is exported to dump-help and can be consumed by supplemental content generators to contains much more detailed information than you may want to include in a help screen. Maybe a better idea would be to have --help-detailed flag that would include this information in the help output. Suggestions are welcome.
ae645fb
to
ede9fca
Compare
exported to dump-help and can be consumed by supplemental content
generators to contains much more detailed information than you may want
to include in a help screen.
Maybe a better idea would be to have --help-detailed flag that would
include this information in the help output. Suggestions are welcome.