Class FileRenamer.Arguments
Inheritance
FileRenamer.Arguments
Assembly: AnalysisPrograms.dll
Syntax
[Command("FileRenamer", Description = "[UNMAINTAINED] Renames files based on modified and created date.")]
public class Arguments : SubCommandBase
Properties
|
Improve this Doc
View Source
DryRun
Declaration
[Option(Description = "Only print rename actions, don't actually rename files.", ShortName = "n")]
public bool DryRun { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
[Option(CommandOptionType.SingleValue, Description = "The directory containing audio files.")]
[DirectoryExists]
[Required]
public virtual DirectoryInfo InputDir { get; set; }
Property Value
|
Improve this Doc
View Source
Recursive
Declaration
[Option(Description = "Whether to recurse into subfolders.")]
public bool Recursive { get; set; }
Property Value
|
Improve this Doc
View Source
Timezone
Declaration
[Option(CommandOptionType.SingleValue, Description = "Specify the timezone (e.g. '+1000', '-0700').", ShortName = "z")]
[Required]
public TimeSpan Timezone { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Execute(CommandLineApplication)
Declaration
public override Task<int> Execute(CommandLineApplication app)
Parameters
Type |
Name |
Description |
McMaster.Extensions.CommandLineUtils.CommandLineApplication |
app |
|
Returns
Overrides
|
Improve this Doc
View Source
OnValidate(ValidationContext, CommandLineContext)
Declaration
protected override ValidationResult OnValidate(ValidationContext context, CommandLineContext appContext)
Parameters
Type |
Name |
Description |
ValidationContext |
context |
|
McMaster.Extensions.CommandLineUtils.Abstractions.CommandLineContext |
appContext |
|
Returns
Overrides
Extension Methods