mirror of
https://github.com/oliverbooth/fdup.git
synced 2024-11-09 23:25:42 +00:00
17 lines
501 B
C#
17 lines
501 B
C#
|
using System.ComponentModel;
|
|||
|
using Spectre.Console.Cli;
|
|||
|
|
|||
|
namespace FindDuplicates;
|
|||
|
|
|||
|
internal sealed class ListSettings : CommandSettings
|
|||
|
{
|
|||
|
[CommandArgument(0, "<path>")]
|
|||
|
[Description("The path to search.")]
|
|||
|
public string InputPath { get; set; } = string.Empty;
|
|||
|
|
|||
|
[CommandOption("-r|--recursive")]
|
|||
|
[Description("When this flag is set, the directory will be scanned recursively. This may take longer.")]
|
|||
|
[DefaultValue(false)]
|
|||
|
public bool Recursive { get; set; } = false;
|
|||
|
}
|