// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace Microsoft.DocAsCode
{
    using CommandLine;

    [OptionUsage("export")]
    internal class ExportCommandOptions : MetadataCommandOptions
    {
        [Option('u', "url", HelpText = "The base url of yaml file.", Required = true)]
        public string BaseUrl { get; set; }

        [Option('p', "pattern", HelpText = "The pattern of url, default is '{baseUrl}/{fileName}.html'", Required = true)]
        public string UrlPattern { get; set; } = "{baseUrl}/{fileName}.html";

        [Option('n', "name", HelpText = "The name of package.")]
        public string Name { get; set; }

        [Option('a', "append", HelpText = "Append the package.")]
        public bool AppendMode { get; set; }
    }
}
