-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChildPublishersCommand.cs
More file actions
20 lines (18 loc) · 1 KB
/
ChildPublishersCommand.cs
File metadata and controls
20 lines (18 loc) · 1 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.ChildPublishers;
/// <summary>
/// Wacsdk child publishers command for Publisher.
/// </summary>
public class ChildPublishersCommand : Command
{
/// <summary>
/// Initializes a new instance of the <see cref="ChildPublishersCommand"/> class.
/// </summary>
public ChildPublishersCommand(WacsdkCommandConfig config, Option<string> repoOption, Option<string> idOption, Option<string> publisherIdOption, Option<string> roleIdOption, Option<string> roleNameOption, Option<string> roleDescriptionOption)
: base("child-publishers", "Manages the child publishers of the Publisher.")
{
AddCommand(new GetChildPublishersCommand(config, repoOption, idOption));
AddCommand(new AddChildPublisherCommand(config, repoOption, idOption, publisherIdOption, roleIdOption, roleNameOption, roleDescriptionOption));
AddCommand(new RemoveChildPublisherCommand(config, repoOption, idOption, publisherIdOption));
}
}