From d0f65e6e83089ecb6d189b918cbe4de9bcdeb781 Mon Sep 17 00:00:00 2001 From: Gennaro Palma <89228935+gennaropalma@users.noreply.github.com> Date: Mon, 28 Apr 2025 14:28:52 +0930 Subject: [PATCH 1/2] Update CreateTeamCommandBase.cs Add a description to make it clearer that this option only works with Enterprise Managed Users. --- src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs b/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs index 1bcfe5416..24dea11d1 100644 --- a/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs +++ b/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs @@ -17,7 +17,9 @@ public CreateTeamCommandBase() : base(name: "create-team", description: "Creates public virtual Option TeamName { get; } = new("--team-name") { IsRequired = true }; public virtual Option IdpGroup { get; } = new("--idp-group"); - + { + Description = "The Identity Provider Group to link the team to. For Enterprise Managed Users only." + }; public virtual Option GithubPat { get; } = new("--github-pat") { Description = "Personal access token of the GitHub target. Overrides GH_PAT environment variable." From 1b3398c1e19d23204fa26e5ab59a8d7cf9758b7a Mon Sep 17 00:00:00 2001 From: Gennaro Palma <89228935+gennaropalma@users.noreply.github.com> Date: Tue, 20 May 2025 11:25:31 +0930 Subject: [PATCH 2/2] Update CreateTeamCommandBase.cs As per review --- src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs b/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs index 24dea11d1..fb3e3a672 100644 --- a/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs +++ b/src/Octoshift/Commands/CreateTeam/CreateTeamCommandBase.cs @@ -16,7 +16,7 @@ public CreateTeamCommandBase() : base(name: "create-team", description: "Creates public virtual Option TeamName { get; } = new("--team-name") { IsRequired = true }; - public virtual Option IdpGroup { get; } = new("--idp-group"); + public virtual Option IdpGroup { get; } = new("--idp-group") { Description = "The Identity Provider Group to link the team to. For Enterprise Managed Users only." };