Make the --target-uploads-url option visible to the help output#1518
Make the --target-uploads-url option visible to the help output#1518akordowski wants to merge 2 commits into
--target-uploads-url option visible to the help output#1518Conversation
There was a problem hiding this comment.
Pull request overview
This PR makes the --target-uploads-url command-line option visible in help output by removing the IsHidden = true property. Previously, this option was hidden from users running --help, making it difficult to discover and use when migrating to non-github.com targets.
Changes:
- Removed
IsHidden = truefrom theTargetUploadsUrloption across multiple command classes - Simplified the option initialization by removing the object initializer block
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/gei/Commands/MigrateRepo/MigrateRepoCommand.cs | Made --target-uploads-url visible in the migrate-repo command help |
| src/gei/Commands/MigrateOrg/MigrateOrgCommand.cs | Made --target-uploads-url visible in the migrate-org command help |
| src/gei/Commands/GenerateScript/GenerateScriptCommand.cs | Made --target-uploads-url visible in the generate-script command help |
| src/bbs2gh/Commands/MigrateRepo/MigrateRepoCommand.cs | Made --target-uploads-url visible in the bbs2gh migrate-repo command help |
Unit Test Results 1 files 1 suites 10m 25s ⏱️ Results for commit cd973e8. ♻️ This comment has been updated with latest results. |
|
Since this PR was created new commands have been added here like These changes will likely have to be re-applied elsewhere. |
|
thanks for your contributions, closing in favor of #1593 so I can ship and release |
ThirdPartyNotices.txt(if applicable)This PR addresses the issue #1517 and makes the
--target-uploads-urloption visible to the help output.