Add ability to pass example args using params syntax (#1166)

This commit is contained in:
Andrii Rublov
2023-05-12 04:08:42 -07:00
committed by GitHub
parent dac2097321
commit 404b052a5f
6 changed files with 18 additions and 20 deletions

View File

@ -14,8 +14,8 @@ public interface IConfigurator
/// Adds an example of how to use the application.
/// </summary>
/// <param name="args">The example arguments.</param>
void AddExample(string[] args);
void AddExample(params string[] args);
/// <summary>
/// Adds a command.
/// </summary>