Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show reclaim-mannequin's --skip-invitation option in reclaim-mannequin --help #1081

Merged
merged 4 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- __BREAKING CHANGE__: Drop deprecated `--wait` option for `migrate-repo` and `migrate-org` commands
- Allow Enterprise Managed Users (EMU) organizations to skip the invitation process in the `reclaim-mannequin` command with the `--skip-invitation` option
- Fix target repo existence check in GitHub Enterprise Server migrations so it doesn't error if the target repo used to exist, but has been renamed
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ public ReclaimMannequinCommandBase() : base(

public virtual Option<bool> SkipInvitation { get; } = new("--skip-invitation")
{
IsHidden = true,
Description = "Reclaim mannequins immediately without sending an invitation to the user. Warning: this is irreversible! This feature is currently in development, and is not ready for sure. When it launches, it will only be supported for selected Enterprise Managed Users (EMU) organizations."
Description = "Reclaim mannequins immediately without sending an invitation to the user. Only available for Enterprise Managed Users (EMU) organizations. Warning: this is irreversible!"
};

public virtual Option<bool> Verbose { get; } = new("--verbose");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "force", false);
TestHelpers.VerifyCommandOption(command.Options, "no-prompt", false);
TestHelpers.VerifyCommandOption(command.Options, "github-pat", false);
TestHelpers.VerifyCommandOption(command.Options, "skip-invitation", false, true);
TestHelpers.VerifyCommandOption(command.Options, "skip-invitation", false);
TestHelpers.VerifyCommandOption(command.Options, "verbose", false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "force", false);
TestHelpers.VerifyCommandOption(command.Options, "no-prompt", false);
TestHelpers.VerifyCommandOption(command.Options, "github-pat", false);
TestHelpers.VerifyCommandOption(command.Options, "skip-invitation", false, true);
TestHelpers.VerifyCommandOption(command.Options, "skip-invitation", false);
TestHelpers.VerifyCommandOption(command.Options, "verbose", false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void Should_Have_Options()
TestHelpers.VerifyCommandOption(command.Options, "force", false);
TestHelpers.VerifyCommandOption(command.Options, "no-prompt", false);
TestHelpers.VerifyCommandOption(command.Options, "github-target-pat", false);
TestHelpers.VerifyCommandOption(command.Options, "skip-invitation", false, true);
TestHelpers.VerifyCommandOption(command.Options, "skip-invitation", false);
TestHelpers.VerifyCommandOption(command.Options, "verbose", false);
}
}
Loading