Search Results for

    Show / Hide Table of Contents

    Class FileRenamer.Arguments

    Inheritance
    Object
    SubCommandBase
    FileRenamer.Arguments
    Inherited Members
    SubCommandBase.Parent
    SubCommandBase.OnExecuteAsync(CommandLineApplication)
    SubCommandBase.Ok()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AnalysisPrograms
    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
    Type Description
    Boolean
    | Improve this Doc View Source

    InputDir

    Declaration
    [Option(CommandOptionType.SingleValue, Description = "The directory containing audio files.")]
    [DirectoryExists]
    [Required]
    public virtual DirectoryInfo InputDir { get; set; }
    Property Value
    Type Description
    DirectoryInfo
    | Improve this Doc View Source

    Recursive

    Declaration
    [Option(Description = "Whether to recurse into subfolders.")]
    public bool Recursive { get; set; }
    Property Value
    Type Description
    Boolean
    | 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
    Type Description
    TimeSpan

    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
    Type Description
    Task<Int32>
    Overrides
    SubCommandBase.Execute(CommandLineApplication)
    | 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
    Type Description
    ValidationResult
    Overrides
    SubCommandBase.OnValidate(ValidationContext, CommandLineContext)

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top