Skip to content

Commit

Permalink
Merge pull request #1081 from github/timrogers/unhide-skip-invitation
Browse files Browse the repository at this point in the history
Show `reclaim-mannequin`'s `--skip-invitation` option in `reclaim-mannequin --help`
  • Loading branch information
timrogers authored Aug 2, 2023
2 parents 33f5b3a + 24d5b37 commit e87b3cc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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);
}
}

0 comments on commit e87b3cc

Please sign in to comment.