Make the --target-uploads-url option visible to the help output#1518
Open
akordowski wants to merge 2 commits intogithub:mainfrom
Open
Make the --target-uploads-url option visible to the help output#1518akordowski wants to merge 2 commits intogithub:mainfrom
--target-uploads-url option visible to the help output#1518akordowski wants to merge 2 commits intogithub:mainfrom
Conversation
Contributor
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ThirdPartyNotices.txt(if applicable)This PR addresses the issue #1517 and makes the
--target-uploads-urloption visible to the help output.