// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; namespace Microsoft.Extensions.CommandLineUtils { public class CommandArgument { public CommandArgument() { Values = new List(); } public string Name { get; set; } public bool ShowInHelpText { get; set; } = true; public string Description { get; set; } public List Values { get; private set; } public bool MultipleValues { get; set; } public string Value { get { return Values.FirstOrDefault(); } } } }