Skip to content

Commit

Permalink
Merge branch 'main' into add-bamboo-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaguereca authored May 12, 2023
2 parents 79f9f4e + 3e07a5d commit 4d740ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/ActionsImporter/Commands/Bamboo/Audit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public Audit(string[] args)
Common.AccessToken,
Common.InstanceUrl,
Common.Project,
Common.ConfigFilePath,
Common.IncludeFrom
Common.ConfigFilePath
);
}
10 changes: 2 additions & 8 deletions src/ActionsImporter/Commands/Bamboo/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,13 @@ public static class Common
IsRequired = false,
};

public static readonly Option<FileInfo> IncludeFrom = new("--include-from")
{
Description = "The file path containing a list of line-delimited repositories to include in the audit.",
IsRequired = false,
};

public static readonly Option<int> PlanSlug = new(new[] { "-p", "--plan-slug" })
public static readonly Option<string> PlanSlug = new(new[] { "-p", "--plan-slug" })
{
Description = "The project and plan key in the format 'ProjectKey-PlanKey'.",
IsRequired = true,
};

public static readonly Option<FileInfo> DeploymentProjectId = new("--deployment-project-id")
public static readonly Option<int> DeploymentProjectId = new("--deployment-project-id")
{
Description = "The Bamboo deployment project id.",
IsRequired = true,
Expand Down

0 comments on commit 4d740ba

Please sign in to comment.