-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParentPublishersCommand.cs
More file actions
20 lines (18 loc) · 1.01 KB
/
ParentPublishersCommand.cs
File metadata and controls
20 lines (18 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.CommandLine;
namespace WindowsAppCommunity.CommandLine.Publisher.ParentPublishers;
/// <summary>
/// Wacsdk parent publishers command for Publisher.
/// </summary>
public class ParentPublishersCommand : Command
{
/// <summary>
/// Initializes a new instance of the <see cref="ParentPublishersCommand"/> class.
/// </summary>
public ParentPublishersCommand(WacsdkCommandConfig config, Option<string> repoOption, Option<string> idOption, Option<string> publisherIdOption, Option<string> roleIdOption, Option<string> roleNameOption, Option<string> roleDescriptionOption)
: base("parent-publishers", "Manages the parent publishers of the Publisher.")
{
AddCommand(new GetParentPublishersCommand(config, repoOption, idOption));
AddCommand(new AddParentPublisherCommand(config, repoOption, idOption, publisherIdOption, roleIdOption, roleNameOption, roleDescriptionOption));
AddCommand(new RemoveParentPublisherCommand(config, repoOption, idOption, publisherIdOption));
}
}