23 lines
631 B
C#
23 lines
631 B
C#
using PowerArgs;
|
|
|
|
namespace SBT_Downloader
|
|
{
|
|
[TabCompletion]
|
|
public class MyArgs
|
|
{
|
|
[ArgRequired(PromptIfMissing = false), ArgShortcut("-a")]
|
|
public string Author { get; set; }
|
|
|
|
[ArgRequired(PromptIfMissing = true), ArgShortcut("-h")]
|
|
public string Har { get; set; }
|
|
|
|
[ArgRequired(PromptIfMissing = false), ArgShortcut("-n")]
|
|
public string Narrator { get; set; }
|
|
|
|
[ArgRequired(PromptIfMissing = true), ArgShortcut("-t")]
|
|
public string Title { get; set; }
|
|
|
|
[ArgShortcut("-s")]
|
|
public string Series { get; set; }
|
|
}
|
|
} |