diff --git a/README.md b/README.md index 1ddd4a35..0b4c6012 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,7 @@ applications. - Generate fully customizable usage help. - Supports PowerShell-like and POSIX-like parsing rules. -Ookii.CommandLine is provided in versions for [.Net Standard 2.0, .Net Standard 2.1, and .Net 6.0 -and later](#requirements). +Ookii.CommandLine is provided in versions for [.Net Standard 2.0, .Net Standard 2.1, and .Net 6.0 and later](#requirements). Ookii.CommandLine can be added to your project using [NuGet](https://nuget.org/packages/Ookii.CommandLine). [Code snippets](docs/CodeSnippets.md) for Visual Studio are available on the diff --git a/docs/Arguments.md b/docs/Arguments.md index 2b916f92..e774f74a 100644 --- a/docs/Arguments.md +++ b/docs/Arguments.md @@ -354,10 +354,10 @@ mode outlined above, with all the same options. Next, let's take a look at how to [define arguments](DefiningArguments.md). -[`AllowDuplicateDictionaryKeysAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_AllowDuplicateDictionaryKeysAttribute.htm -[`CommandLineArgument.AllowNull`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgument_AllowNull.htm -[`CommandLineArgumentException`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentException.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm +[`AllowDuplicateDictionaryKeysAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_AllowDuplicateDictionaryKeysAttribute.htm +[`CommandLineArgument.AllowNull`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgument_AllowNull.htm +[`CommandLineArgumentException`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentException.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm [`CultureInfo.InvariantCulture`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.invariantculture [`CultureInfo`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo [`DateTime`]: https://learn.microsoft.com/dotnet/api/system.datetime @@ -367,24 +367,24 @@ Next, let's take a look at how to [define arguments](DefiningArguments.md). [`FileInfo`]: https://learn.microsoft.com/dotnet/api/system.io.fileinfo [`FlagsAttribute`]: https://learn.microsoft.com/dotnet/api/system.flagsattribute [`Int32`]: https://learn.microsoft.com/dotnet/api/system.int32 -[`KeyTypeConverterAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_KeyTypeConverterAttribute.htm +[`KeyTypeConverterAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_KeyTypeConverterAttribute.htm [`KeyValuePair`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2 -[`KeyValuePairConverter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_KeyValuePairConverter_2.htm -[`KeyValueSeparatorAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_KeyValueSeparatorAttribute.htm -[`MultiValueSeparatorAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_MultiValueSeparatorAttribute.htm -[`ParseOptions.AllowWhiteSpaceValueSeparator`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_AllowWhiteSpaceValueSeparator.htm -[`ParseOptions.ArgumentNameComparer`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameComparer.htm -[`ParseOptions.Culture`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_Culture.htm -[`ParseOptions.NameValueSeparator`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_NameValueSeparator.htm -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`ParseOptionsAttribute.AllowWhiteSpaceValueSeparator`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptionsAttribute_AllowWhiteSpaceValueSeparator.htm -[`ParseOptionsAttribute.CaseSensitive`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptionsAttribute_CaseSensitive.htm -[`ParseOptionsAttribute.NameValueSeparator`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptionsAttribute_NameValueSeparator.htm -[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm +[`KeyValuePairConverter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_KeyValuePairConverter_2.htm +[`KeyValueSeparatorAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_KeyValueSeparatorAttribute.htm +[`MultiValueSeparatorAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_MultiValueSeparatorAttribute.htm +[`ParseOptions.AllowWhiteSpaceValueSeparator`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_AllowWhiteSpaceValueSeparator.htm +[`ParseOptions.ArgumentNameComparer`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameComparer.htm +[`ParseOptions.Culture`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_Culture.htm +[`ParseOptions.NameValueSeparator`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_NameValueSeparator.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`ParseOptionsAttribute.AllowWhiteSpaceValueSeparator`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptionsAttribute_AllowWhiteSpaceValueSeparator.htm +[`ParseOptionsAttribute.CaseSensitive`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptionsAttribute_CaseSensitive.htm +[`ParseOptionsAttribute.NameValueSeparator`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptionsAttribute_NameValueSeparator.htm +[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm [`String`]: https://learn.microsoft.com/dotnet/api/system.string [`System.ComponentModel.TypeConverterAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverterattribute [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter [`TypeConverterAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverterattribute [`Uri`]: https://learn.microsoft.com/dotnet/api/system.uri -[`ValueTypeConverterAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ValueTypeConverterAttribute.htm -[NullArgumentValue_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm +[`ValueTypeConverterAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ValueTypeConverterAttribute.htm +[NullArgumentValue_0]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index 44953bb3..43f1478a 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -135,13 +135,13 @@ and usage. Upgrading an existing project that is using Ookii.CommandLine 1.0 to Ookii.CommandLine 2.0 or newer may require substantial code changes and may change how command lines are parsed. -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser_1.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser_1.htm [`CultureInfo.InvariantCulture`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.invariantculture [`Environment.GetCommandLineArgs()`]: https://learn.microsoft.com/dotnet/api/system.environment.getcommandlineargs -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter -[Parse()_6]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse.htm -[Parse()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[UsageWriter_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm +[Parse()_6]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse.htm +[Parse()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[UsageWriter_1]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm diff --git a/docs/DefiningArguments.md b/docs/DefiningArguments.md index 2355725a..f155e7b8 100644 --- a/docs/DefiningArguments.md +++ b/docs/DefiningArguments.md @@ -597,42 +597,42 @@ disable either automatic argument using the [`ParseOptions`][]. Next, we'll take a look at how to [parse the arguments we've defined](ParsingArguments.md) -[`AliasAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_AliasAttribute.htm -[`ArgumentNameAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ArgumentNameAttribute.htm -[`ArgumentNameAttribute.IsLong`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ArgumentNameAttribute_IsLong.htm -[`ArgumentNameAttribute.IsShort`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ArgumentNameAttribute_IsShort.htm -[`ArgumentNameAttribute.ShortName`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ArgumentNameAttribute_ShortName.htm -[`CommandLineArgumentAttribute.CancelParsing`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_CancelParsing.htm -[`CommandLineArgumentAttribute.DefaultValue`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_DefaultValue.htm -[`CommandLineArgumentAttribute.IsLong`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsLong.htm -[`CommandLineArgumentAttribute.IsRequired`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsRequired.htm -[`CommandLineArgumentAttribute.IsShort`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsShort.htm -[`CommandLineArgumentAttribute.Position`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_Position.htm -[`CommandLineArgumentAttribute.ShortName`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ShortName.htm -[`CommandLineArgumentAttribute.ValueDescription`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ValueDescription.htm -[`CommandLineArgumentAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentAttribute.htm -[`CommandLineConstructorAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineConstructorAttribute.htm -[`CommandLineParser.HelpRequested`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm +[`AliasAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_AliasAttribute.htm +[`ArgumentNameAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ArgumentNameAttribute.htm +[`ArgumentNameAttribute.IsLong`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ArgumentNameAttribute_IsLong.htm +[`ArgumentNameAttribute.IsShort`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ArgumentNameAttribute_IsShort.htm +[`ArgumentNameAttribute.ShortName`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ArgumentNameAttribute_ShortName.htm +[`CommandLineArgumentAttribute.CancelParsing`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_CancelParsing.htm +[`CommandLineArgumentAttribute.DefaultValue`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_DefaultValue.htm +[`CommandLineArgumentAttribute.IsLong`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsLong.htm +[`CommandLineArgumentAttribute.IsRequired`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsRequired.htm +[`CommandLineArgumentAttribute.IsShort`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsShort.htm +[`CommandLineArgumentAttribute.Position`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_Position.htm +[`CommandLineArgumentAttribute.ShortName`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ShortName.htm +[`CommandLineArgumentAttribute.ValueDescription`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ValueDescription.htm +[`CommandLineArgumentAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentAttribute.htm +[`CommandLineConstructorAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineConstructorAttribute.htm +[`CommandLineParser.HelpRequested`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm [`DescriptionAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.descriptionattribute [`Dictionary`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2 [`ICollection`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1 [`IDictionary`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2 [`List`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 [`List`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 -[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LocalizedStringProvider.htm -[`ParseOptions.ArgumentNameTransform`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameTransform.htm -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm -[`ShortAliasAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ShortAliasAttribute.htm +[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LocalizedStringProvider.htm +[`ParseOptions.ArgumentNameTransform`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameTransform.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm +[`ShortAliasAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ShortAliasAttribute.htm [`SortedDictionary`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.sorteddictionary-2 [`String`]: https://learn.microsoft.com/dotnet/api/system.string [`System.ComponentModel.DescriptionAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.descriptionattribute [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter [`TypeConverterAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverterattribute -[`TypeConverterBase`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_TypeConverterBase_1.htm -[`ValueDescriptionAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ValueDescriptionAttribute.htm -[CancelParsing_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_CancelParsing.htm -[CommandLineParser.Parse()_2]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm -[DefaultValue_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_DefaultValue.htm -[Parse()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`TypeConverterBase`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_TypeConverterBase_1.htm +[`ValueDescriptionAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ValueDescriptionAttribute.htm +[CancelParsing_1]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_CancelParsing.htm +[CommandLineParser.Parse()_2]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm +[DefaultValue_1]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_DefaultValue.htm +[Parse()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm diff --git a/docs/Migrating.md b/docs/Migrating.md index 3bd22d12..28a526ae 100644 --- a/docs/Migrating.md +++ b/docs/Migrating.md @@ -65,29 +65,29 @@ modifications unless you used subcommands or heavily customized the usage help f - The [`LineWrappingTextWriter`][] class does not count virtual terminal sequences as part of the line length by default. -[`AsyncCommandBase`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_AsyncCommandBase.htm -[`CommandAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandAttribute.htm -[`CommandLineArgument.ElementType`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgument_ElementType.htm -[`CommandLineParser.HelpRequested`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[`CommandLineParser.WriteUsage()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_WriteUsage.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser_1.htm -[`CommandManager.RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm -[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandManager.htm -[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandOptions.htm +[`AsyncCommandBase`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_AsyncCommandBase.htm +[`CommandAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandAttribute.htm +[`CommandLineArgument.ElementType`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgument_ElementType.htm +[`CommandLineParser.HelpRequested`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`CommandLineParser.WriteUsage()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_WriteUsage.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser_1.htm +[`CommandManager.RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm +[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandManager.htm +[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandOptions.htm [`CultureInfo.InvariantCulture`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.invariantculture [`CurrentCulture`]: https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo.currentculture -[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm -[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm -[`ICommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_ICommand.htm -[`ICommandWithCustomParsing.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_ICommandWithCustomParsing_Parse.htm -[`ICommandWithCustomParsing`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_ICommandWithCustomParsing.htm -[`LineWrappingTextWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LineWrappingTextWriter.htm +[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm +[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm +[`ICommand`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_ICommand.htm +[`ICommandWithCustomParsing.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_ICommandWithCustomParsing_Parse.htm +[`ICommandWithCustomParsing`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_ICommandWithCustomParsing.htm +[`LineWrappingTextWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LineWrappingTextWriter.htm [`Nullable`]: https://learn.microsoft.com/dotnet/api/system.nullable-1 -[`Ookii.CommandLine.Commands`]: https://www.ookii.org/docs/commandline-3.0-preview/html/N_Ookii_CommandLine_Commands.htm -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm -[CommandLineParser.Parse()_2]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm -[Parse()_5]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_1_Parse.htm -[Parse()_6]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm +[`Ookii.CommandLine.Commands`]: https://www.ookii.org/docs/commandline-3.0/html/N_Ookii_CommandLine_Commands.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm +[CommandLineParser.Parse()_2]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm +[Parse()_5]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_1_Parse.htm +[Parse()_6]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm diff --git a/docs/ParsingArguments.md b/docs/ParsingArguments.md index b125e8e7..377346b8 100644 --- a/docs/ParsingArguments.md +++ b/docs/ParsingArguments.md @@ -170,25 +170,25 @@ the instance methods, as they apply to the static [`Parse()`][Parse()_1] o Next, we'll take a look at [generating usage help](UsageHelp.md). -[`ArgumentParsed`]: https://www.ookii.org/docs/commandline-3.0-preview/html/E_Ookii_CommandLine_CommandLineParser_ArgumentParsed.htm -[`CommandLineArgumentAttribute.CancelParsing`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_CancelParsing.htm -[`CommandLineArgumentErrorCategory`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm -[`CommandLineArgumentException.Category`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentException_Category.htm -[`CommandLineArgumentException`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentException.htm -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_1_Parse.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser_1.htm +[`ArgumentParsed`]: https://www.ookii.org/docs/commandline-3.0/html/E_Ookii_CommandLine_CommandLineParser_ArgumentParsed.htm +[`CommandLineArgumentAttribute.CancelParsing`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_CancelParsing.htm +[`CommandLineArgumentErrorCategory`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm +[`CommandLineArgumentException.Category`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentException_Category.htm +[`CommandLineArgumentException`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentException.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_1_Parse.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser_1.htm [`Environment.GetCommandLineArgs()`]: https://learn.microsoft.com/dotnet/api/system.environment.getcommandlineargs -[`Error`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_Error.htm -[`GetArgument`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_GetArgument.htm -[`HelpRequested`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm -[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LocalizedStringProvider.htm -[`ParseOptions.StringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_StringProvider.htm -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm -[Arguments_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineParser_Arguments.htm -[DuplicateArgument_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/E_Ookii_CommandLine_CommandLineParser_DuplicateArgument.htm -[Parse()_5]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_1_Parse.htm -[Parse()_6]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm -[Parse()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`Error`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_Error.htm +[`GetArgument`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_GetArgument.htm +[`HelpRequested`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineParser_HelpRequested.htm +[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LocalizedStringProvider.htm +[`ParseOptions.StringProvider`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_StringProvider.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm +[Arguments_0]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineParser_Arguments.htm +[DuplicateArgument_0]: https://www.ookii.org/docs/commandline-3.0/html/E_Ookii_CommandLine_CommandLineParser_DuplicateArgument.htm +[Parse()_5]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_1_Parse.htm +[Parse()_6]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_CommandLineParser_Parse.htm +[Parse()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm diff --git a/docs/Subcommands.md b/docs/Subcommands.md index ba135446..196e7e3b 100644 --- a/docs/Subcommands.md +++ b/docs/Subcommands.md @@ -551,48 +551,48 @@ Providing native support for nested subcommands is planned for a future release. The next page will take a look at several [utility classes](Utilities.md) provided, and used, by Ookii.CommandLine. -[`AliasAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_AliasAttribute.htm -[`ApplicationFriendlyNameAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ApplicationFriendlyNameAttribute.htm -[`AsyncCommandBase`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_AsyncCommandBase.htm -[`CommandAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandAttribute.htm -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm -[`CommandManager.GetCommand()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_CommandManager_GetCommand.htm -[`CommandManager.RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm -[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandManager.htm -[`CommandNameTransform`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandNameTransform.htm -[`CommandOptions.AutoVersionCommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_AutoVersionCommand.htm -[`CommandOptions.CommandFilter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandFilter.htm -[`CommandOptions.CommandNameTransform`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandNameTransform.htm -[`CommandOptions.StripCommandNameSuffix`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_StripCommandNameSuffix.htm -[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandOptions.htm -[`CreateCommand()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_CreateCommand.htm +[`AliasAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_AliasAttribute.htm +[`ApplicationFriendlyNameAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ApplicationFriendlyNameAttribute.htm +[`AsyncCommandBase`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_AsyncCommandBase.htm +[`CommandAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandAttribute.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandManager.GetCommand()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_CommandManager_GetCommand.htm +[`CommandManager.RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm +[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandManager.htm +[`CommandNameTransform`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandNameTransform.htm +[`CommandOptions.AutoVersionCommand`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_AutoVersionCommand.htm +[`CommandOptions.CommandFilter`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandFilter.htm +[`CommandOptions.CommandNameTransform`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandNameTransform.htm +[`CommandOptions.StripCommandNameSuffix`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_StripCommandNameSuffix.htm +[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandOptions.htm +[`CreateCommand()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_CreateCommand.htm [`DescriptionAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.descriptionattribute [`Environment.GetCommandLineArgs()`]: https://learn.microsoft.com/dotnet/api/system.environment.getcommandlineargs -[`IAsyncCommand.RunAsync()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_IAsyncCommand_RunAsync.htm -[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm -[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm -[`ICommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_ICommand.htm -[`ICommandWithCustomParsing.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_ICommandWithCustomParsing_Parse.htm -[`ICommandWithCustomParsing`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_ICommandWithCustomParsing.htm -[`IncludeApplicationDescriptionBeforeCommandList`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeApplicationDescriptionBeforeCommandList.htm -[`IncludeCommandHelpInstruction`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeCommandHelpInstruction.htm -[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LocalizedStringProvider.htm -[`NameTransform.DashCase`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_NameTransform.htm -[`NameTransform.None`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_NameTransform.htm -[`Ookii.CommandLine.Commands`]: https://www.ookii.org/docs/commandline-3.0-preview/html/N_Ookii_CommandLine_Commands.htm -[`ParseOptions.AutoVersionArgument`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_AutoVersionArgument.htm -[`ParseOptions.ArgumentNameTransform`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameTransform.htm -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm -[`RunCommand()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommand.htm -[`RunCommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommand.htm -[`RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm +[`IAsyncCommand.RunAsync()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_IAsyncCommand_RunAsync.htm +[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm +[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm +[`ICommand`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_ICommand.htm +[`ICommandWithCustomParsing.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_ICommandWithCustomParsing_Parse.htm +[`ICommandWithCustomParsing`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_ICommandWithCustomParsing.htm +[`IncludeApplicationDescriptionBeforeCommandList`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeApplicationDescriptionBeforeCommandList.htm +[`IncludeCommandHelpInstruction`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeCommandHelpInstruction.htm +[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LocalizedStringProvider.htm +[`NameTransform.DashCase`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_NameTransform.htm +[`NameTransform.None`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_NameTransform.htm +[`Ookii.CommandLine.Commands`]: https://www.ookii.org/docs/commandline-3.0/html/N_Ookii_CommandLine_Commands.htm +[`ParseOptions.AutoVersionArgument`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_AutoVersionArgument.htm +[`ParseOptions.ArgumentNameTransform`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameTransform.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm +[`RunCommand()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommand.htm +[`RunCommand`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommand.htm +[`RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm [`StringComparer.OrdinalIgnoreCase`]: https://learn.microsoft.com/dotnet/api/system.stringcomparer.ordinalignorecase -[`StripCommandNameSuffix`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_StripCommandNameSuffix.htm -[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm -[`WriteCommandDescription()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteCommandDescription.htm -[`WriteCommandHelpInstruction()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteCommandHelpInstruction.htm -[`WriteCommandListUsageCore()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteCommandListUsageCore.htm -[`WriteCommandListUsageSyntax()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteCommandListUsageSyntax.htm -[RunAsync()_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_RunAsync.htm +[`StripCommandNameSuffix`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_StripCommandNameSuffix.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm +[`WriteCommandDescription()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteCommandDescription.htm +[`WriteCommandHelpInstruction()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteCommandHelpInstruction.htm +[`WriteCommandListUsageCore()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteCommandListUsageCore.htm +[`WriteCommandListUsageSyntax()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteCommandListUsageSyntax.htm +[RunAsync()_0]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_RunAsync.htm diff --git a/docs/Tutorial.md b/docs/Tutorial.md index c04d7152..d4774e6a 100644 --- a/docs/Tutorial.md +++ b/docs/Tutorial.md @@ -993,38 +993,38 @@ following resources: - [Class library documentation](https://www.ookii.org/Link/CommandLineDoc) - [Sample applications](../src/Samples) -[`AliasAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_AliasAttribute.htm -[`ApplicationFriendlyNameAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ApplicationFriendlyNameAttribute.htm -[`AsyncCommandBase.Run()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_Run.htm -[`AsyncCommandBase`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_AsyncCommandBase.htm -[`CaseSensitive`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptionsAttribute_CaseSensitive.htm -[`CommandAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandAttribute.htm -[`CommandLineArgumentAttribute.IsLong`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsLong.htm -[`CommandLineArgumentAttribute.ShortName`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ShortName.htm -[`CommandLineArgumentAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentAttribute.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm -[`CommandManager.RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm -[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandManager.htm -[`CommandNameComparer`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandNameComparer.htm -[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandOptions.htm -[`CreateCommand()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_CreateCommand.htm +[`AliasAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_AliasAttribute.htm +[`ApplicationFriendlyNameAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ApplicationFriendlyNameAttribute.htm +[`AsyncCommandBase.Run()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_Run.htm +[`AsyncCommandBase`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_AsyncCommandBase.htm +[`CaseSensitive`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptionsAttribute_CaseSensitive.htm +[`CommandAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandAttribute.htm +[`CommandLineArgumentAttribute.IsLong`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsLong.htm +[`CommandLineArgumentAttribute.ShortName`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ShortName.htm +[`CommandLineArgumentAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentAttribute.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandManager.RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm +[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandManager.htm +[`CommandNameComparer`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandNameComparer.htm +[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandOptions.htm +[`CreateCommand()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_CreateCommand.htm [`DescriptionAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.descriptionattribute [`Environment.GetCommandLineArgs()`]: https://learn.microsoft.com/dotnet/api/system.environment.getcommandlineargs [`File.ReadLinesAsync()`]: https://learn.microsoft.com/dotnet/api/system.io.file.readlinesasync [`FileInfo`]: https://learn.microsoft.com/dotnet/api/system.io.fileinfo -[`GetCommand()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_CommandManager_GetCommand.htm -[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm +[`GetCommand()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_CommandManager_GetCommand.htm +[`IAsyncCommand`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_IAsyncCommand.htm [`IAsyncEnumerable`]: https://learn.microsoft.com/dotnet/api/system.collections.generic.iasyncenumerable-1 -[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm -[`ICommand`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_ICommand.htm -[`IncludeApplicationDescriptionBeforeCommandList`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeApplicationDescriptionBeforeCommandList.htm -[`IncludeCommandHelpInstruction`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeCommandHelpInstruction.htm +[`ICommand.Run()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm +[`ICommand`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_ICommand.htm +[`IncludeApplicationDescriptionBeforeCommandList`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeApplicationDescriptionBeforeCommandList.htm +[`IncludeCommandHelpInstruction`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeCommandHelpInstruction.htm [`Nullable`]: https://learn.microsoft.com/dotnet/api/system.nullable-1 -[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptions.htm -[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm -[`ParsingMode.LongShort`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ParsingMode.htm -[`RunCommand()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommand.htm -[`RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm +[`ParseOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptions.htm +[`ParseOptionsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParseOptionsAttribute.htm +[`ParsingMode.LongShort`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ParsingMode.htm +[`RunCommand()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommand.htm +[`RunCommandAsync()`]: https://www.ookii.org/docs/commandline-3.0/html/Overload_Ookii_CommandLine_Commands_CommandManager_RunCommandAsync.htm [`StreamReader`]: https://learn.microsoft.com/dotnet/api/system.io.streamreader [`StringComparer.InvariantCulture`]: https://learn.microsoft.com/dotnet/api/system.stringcomparer.invariantculture [`StringComparer.Ordinal`]: https://learn.microsoft.com/dotnet/api/system.stringcomparer.ordinal @@ -1033,12 +1033,12 @@ following resources: [`Take()`]: https://learn.microsoft.com/dotnet/api/system.linq.enumerable.take [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter [`Uri`]: https://learn.microsoft.com/dotnet/api/system.uri -[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm -[ArgumentNameComparer_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameComparer.htm -[DefaultValue_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_DefaultValue.htm -[Mode_2]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptionsAttribute_Mode.htm -[Parse()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[Run()_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_Run.htm -[Run()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm -[RunAsync()_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_RunAsync.htm -[RunAsync()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Commands_IAsyncCommand_RunAsync.htm +[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm +[ArgumentNameComparer_1]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_ArgumentNameComparer.htm +[DefaultValue_1]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_DefaultValue.htm +[Mode_2]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptionsAttribute_Mode.htm +[Parse()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[Run()_0]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_Run.htm +[Run()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_ICommand_Run.htm +[RunAsync()_0]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_AsyncCommandBase_RunAsync.htm +[RunAsync()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Commands_IAsyncCommand_RunAsync.htm diff --git a/docs/UsageHelp.md b/docs/UsageHelp.md index 805b4cee..8076f708 100644 --- a/docs/UsageHelp.md +++ b/docs/UsageHelp.md @@ -341,39 +341,39 @@ Please see the [subcommand documentation](Subcommands.md) for information about Next, we'll take a look at [argument validation and dependencies](Validation.md). -[`CommandLineArgumentAttribute.IsHidden`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsHidden.htm -[`CommandLineArgumentAttribute.ValueDescription`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ValueDescription.htm -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[`CommandLineParser.WriteUsage()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_WriteUsage.htm +[`CommandLineArgumentAttribute.IsHidden`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_IsHidden.htm +[`CommandLineArgumentAttribute.ValueDescription`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentAttribute_ValueDescription.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`CommandLineParser.WriteUsage()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_WriteUsage.htm [`DescriptionAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.descriptionattribute -[`DescriptionListFilterMode.Information`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_DescriptionListFilterMode.htm -[`GetExtendedColor()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Terminal_TextFormat_GetExtendedColor.htm +[`DescriptionListFilterMode.Information`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_DescriptionListFilterMode.htm +[`GetExtendedColor()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Terminal_TextFormat_GetExtendedColor.htm [`Int32`]: https://learn.microsoft.com/dotnet/api/system.int32 -[`LineWrappingTextWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LineWrappingTextWriter.htm -[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LocalizedStringProvider.htm +[`LineWrappingTextWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LineWrappingTextWriter.htm +[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LocalizedStringProvider.htm [`Nullable`]: https://learn.microsoft.com/dotnet/api/system.nullable-1 -[`ParseOptions.DefaultValueDescriptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_DefaultValueDescriptions.htm -[`ParseOptions.ShowUsageOnError`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_ShowUsageOnError.htm -[`ParseOptions.UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_UsageWriter.htm +[`ParseOptions.DefaultValueDescriptions`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_DefaultValueDescriptions.htm +[`ParseOptions.ShowUsageOnError`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_ShowUsageOnError.htm +[`ParseOptions.UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_UsageWriter.htm [`SetConsoleMode`]: https://learn.microsoft.com/windows/console/setconsolemode [`String`]: https://learn.microsoft.com/dotnet/api/system.string [`System.ComponentModel.DescriptionAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.descriptionattribute -[`TextFormat`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Terminal_TextFormat.htm -[`UsageWriter.ArgumentDescriptionListFilter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_ArgumentDescriptionListFilter.htm -[`UsageWriter.ArgumentDescriptionListOrder`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_ArgumentDescriptionListOrder.htm -[`UsageWriter.IncludeApplicationDescription`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeApplicationDescription.htm -[`UsageWriter.UseAbbreviatedSyntax`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_UseAbbreviatedSyntax.htm -[`UsageWriter.UseColor`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_UseColor.htm -[`UsageWriter.UseShortNamesForSyntax`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_UseShortNamesForSyntax.htm -[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm -[`ValueDescriptionAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ValueDescriptionAttribute.htm -[`WriteArgumentDescriptions()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentDescriptions.htm -[`WriteArgumentName()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentName.htm -[`WriteArgumentSyntax()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentSyntax.htm -[`WriteParserUsageCore()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteParserUsageCore.htm -[`WriteParserUsageSyntax()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteParserUsageSyntax.htm -[`WriteValueDescription()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteValueDescription.htm -[`WriteValueDescriptionForDescription()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteValueDescriptionForDescription.htm -[WriteArgumentDescription()_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentDescription.htm - -[`CommandLineParser.GetUsage()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_GetUsage.htm +[`TextFormat`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Terminal_TextFormat.htm +[`UsageWriter.ArgumentDescriptionListFilter`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_ArgumentDescriptionListFilter.htm +[`UsageWriter.ArgumentDescriptionListOrder`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_ArgumentDescriptionListOrder.htm +[`UsageWriter.IncludeApplicationDescription`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeApplicationDescription.htm +[`UsageWriter.UseAbbreviatedSyntax`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_UseAbbreviatedSyntax.htm +[`UsageWriter.UseColor`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_UseColor.htm +[`UsageWriter.UseShortNamesForSyntax`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_UseShortNamesForSyntax.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm +[`ValueDescriptionAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ValueDescriptionAttribute.htm +[`WriteArgumentDescriptions()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentDescriptions.htm +[`WriteArgumentName()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentName.htm +[`WriteArgumentSyntax()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentSyntax.htm +[`WriteParserUsageCore()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteParserUsageCore.htm +[`WriteParserUsageSyntax()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteParserUsageSyntax.htm +[`WriteValueDescription()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteValueDescription.htm +[`WriteValueDescriptionForDescription()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteValueDescriptionForDescription.htm +[WriteArgumentDescription()_1]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_UsageWriter_WriteArgumentDescription.htm + +[`CommandLineParser.GetUsage()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_GetUsage.htm diff --git a/docs/Utilities.md b/docs/Utilities.md index f4dfd568..70b19b25 100644 --- a/docs/Utilities.md +++ b/docs/Utilities.md @@ -160,24 +160,24 @@ If you want to customize the conversion to string, you can do this too (it uses default), but Ookii.CommandLine never uses this, so it's only relevant if you want to use the converter in other contexts. -[`CanConvertFrom()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_TypeConverterBase_1_CanConvertFrom.htm +[`CanConvertFrom()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_TypeConverterBase_1_CanConvertFrom.htm [`Console.WindowWidth`]: https://learn.microsoft.com/dotnet/api/system.console.windowwidth -[`ConvertFrom()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_TypeConverterBase_1_ConvertFrom.htm -[`EnableColor()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Terminal_VirtualTerminal_EnableColor.htm -[`EnableVirtualTerminalSequences()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Terminal_VirtualTerminal_EnableVirtualTerminalSequences.htm -[`Indent`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_LineWrappingTextWriter_Indent.htm -[`LineWrappingTextWriter.ForConsoleError()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_LineWrappingTextWriter_ForConsoleError.htm -[`LineWrappingTextWriter.ForConsoleOut()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_LineWrappingTextWriter_ForConsoleOut.htm -[`LineWrappingTextWriter.Indent`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_LineWrappingTextWriter_Indent.htm -[`LineWrappingTextWriter.ResetIndent()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_LineWrappingTextWriter_ResetIndent.htm -[`LineWrappingTextWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LineWrappingTextWriter.htm -[`Ookii.CommandLine.Terminal`]: https://www.ookii.org/docs/commandline-3.0-preview/html/N_Ookii_CommandLine_Terminal.htm -[`ResetIndent()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_LineWrappingTextWriter_ResetIndent.htm -[`TextFormat`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Terminal_TextFormat.htm +[`ConvertFrom()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_TypeConverterBase_1_ConvertFrom.htm +[`EnableColor()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Terminal_VirtualTerminal_EnableColor.htm +[`EnableVirtualTerminalSequences()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Terminal_VirtualTerminal_EnableVirtualTerminalSequences.htm +[`Indent`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_LineWrappingTextWriter_Indent.htm +[`LineWrappingTextWriter.ForConsoleError()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_LineWrappingTextWriter_ForConsoleError.htm +[`LineWrappingTextWriter.ForConsoleOut()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_LineWrappingTextWriter_ForConsoleOut.htm +[`LineWrappingTextWriter.Indent`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_LineWrappingTextWriter_Indent.htm +[`LineWrappingTextWriter.ResetIndent()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_LineWrappingTextWriter_ResetIndent.htm +[`LineWrappingTextWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LineWrappingTextWriter.htm +[`Ookii.CommandLine.Terminal`]: https://www.ookii.org/docs/commandline-3.0/html/N_Ookii_CommandLine_Terminal.htm +[`ResetIndent()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_LineWrappingTextWriter_ResetIndent.htm +[`TextFormat`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Terminal_TextFormat.htm [`TextWriter`]: https://learn.microsoft.com/dotnet/api/system.io.textwriter [`ToString()`]: https://learn.microsoft.com/dotnet/api/system.object.tostring [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter [`TypeConverterAttribute`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverterattribute -[`TypeConverterBase`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_TypeConverterBase_1.htm -[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm -[`VirtualTerminal`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Terminal_VirtualTerminal.htm +[`TypeConverterBase`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_TypeConverterBase_1.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm +[`VirtualTerminal`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Terminal_VirtualTerminal.htm diff --git a/docs/Validation.md b/docs/Validation.md index 93c39221..6ce908d1 100644 --- a/docs/Validation.md +++ b/docs/Validation.md @@ -245,38 +245,38 @@ class ValidateFutureDateAttribute : ValidateRangeAttribute Now that you know (almost) everything there is to know about arguments, let's move on to [subcommands](Subcommands.md). -[`ArgumentValidationAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ArgumentValidationAttribute.htm -[`ArgumentValidationWithHelpAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute.htm -[`Category`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_CommandLineArgumentException_Category.htm -[`ClassValidationAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ClassValidationAttribute.htm -[`CommandLineArgumentErrorCategory.ValidationFailed`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm -[`CommandLineArgumentException`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentException.htm -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`ArgumentValidationAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ArgumentValidationAttribute.htm +[`ArgumentValidationWithHelpAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute.htm +[`Category`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_CommandLineArgumentException_Category.htm +[`ClassValidationAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ClassValidationAttribute.htm +[`CommandLineArgumentErrorCategory.ValidationFailed`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm +[`CommandLineArgumentException`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentException.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm [`DateOnly`]: https://learn.microsoft.com/dotnet/api/system.dateonly -[`ErrorCategory`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Validation_ArgumentValidationAttribute_ErrorCategory.htm -[`GetErrorMessage()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Validation_ArgumentValidationAttribute_GetErrorMessage.htm -[`GetUsageHelp()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Validation_ArgumentValidationAttribute_GetUsageHelp.htm -[`GetUsageHelpCore()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute_GetUsageHelpCore.htm +[`ErrorCategory`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Validation_ArgumentValidationAttribute_ErrorCategory.htm +[`GetErrorMessage()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Validation_ArgumentValidationAttribute_GetErrorMessage.htm +[`GetUsageHelp()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Validation_ArgumentValidationAttribute_GetUsageHelp.htm +[`GetUsageHelpCore()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute_GetUsageHelpCore.htm [`IComparable`]: https://learn.microsoft.com/dotnet/api/system.icomparable-1 -[`IsValid()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_Validation_ArgumentValidationAttribute_IsValid.htm -[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LocalizedStringProvider.htm +[`IsValid()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_Validation_ArgumentValidationAttribute_IsValid.htm +[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_LocalizedStringProvider.htm [`NullableConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.nullableconverter -[`Ookii.CommandLine.Validation`]: https://www.ookii.org/docs/commandline-3.0-preview/html/N_Ookii_CommandLine_Validation.htm -[`ProhibitsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ProhibitsAttribute.htm -[`RequiresAnyAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_RequiresAnyAttribute.htm -[`RequiresAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_RequiresAttribute.htm +[`Ookii.CommandLine.Validation`]: https://www.ookii.org/docs/commandline-3.0/html/N_Ookii_CommandLine_Validation.htm +[`ProhibitsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ProhibitsAttribute.htm +[`RequiresAnyAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_RequiresAnyAttribute.htm +[`RequiresAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_RequiresAttribute.htm [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter -[`UsageWriter.IncludeValidatorsInDescription`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeValidatorsInDescription.htm -[`ValidateCountAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateCountAttribute.htm -[`ValidateEnumValueAttribute.IncludeValuesInErrorMessage`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Validation_ValidateEnumValueAttribute_IncludeValuesInErrorMessage.htm -[`ValidateEnumValueAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateEnumValueAttribute.htm -[`ValidateNotEmptyAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateNotEmptyAttribute.htm -[`ValidateNotNullAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateNotNullAttribute.htm -[`ValidateNotWhiteSpaceAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateNotWhiteSpaceAttribute.htm -[`ValidatePatternAttribute.ErrorMessage`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Validation_ValidatePatternAttribute_ErrorMessage.htm -[`ValidatePatternAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidatePatternAttribute.htm -[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm -[`ValidateStringLengthAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateStringLengthAttribute.htm -[IncludeInUsageHelp_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute_IncludeInUsageHelp.htm -[Mode_3]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Validation_ArgumentValidationAttribute_Mode.htm -[ValidationFailed_1]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm +[`UsageWriter.IncludeValidatorsInDescription`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeValidatorsInDescription.htm +[`ValidateCountAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateCountAttribute.htm +[`ValidateEnumValueAttribute.IncludeValuesInErrorMessage`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Validation_ValidateEnumValueAttribute_IncludeValuesInErrorMessage.htm +[`ValidateEnumValueAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateEnumValueAttribute.htm +[`ValidateNotEmptyAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateNotEmptyAttribute.htm +[`ValidateNotNullAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateNotNullAttribute.htm +[`ValidateNotWhiteSpaceAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateNotWhiteSpaceAttribute.htm +[`ValidatePatternAttribute.ErrorMessage`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Validation_ValidatePatternAttribute_ErrorMessage.htm +[`ValidatePatternAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidatePatternAttribute.htm +[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm +[`ValidateStringLengthAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateStringLengthAttribute.htm +[IncludeInUsageHelp_0]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute_IncludeInUsageHelp.htm +[Mode_3]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Validation_ArgumentValidationAttribute_Mode.htm +[ValidationFailed_1]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineArgumentErrorCategory.htm diff --git a/docs/refs.json b/docs/refs.json index c4b4fadf..612e1d8c 100644 --- a/docs/refs.json +++ b/docs/refs.json @@ -1,6 +1,6 @@ { "#apiPrefix": "https://learn.microsoft.com/dotnet/api/", - "#prefix": "https://www.ookii.org/docs/commandline-3.0-preview/html/", + "#prefix": "https://www.ookii.org/docs/commandline-3.0/html/", "#suffix": ".htm", "AddCommand": null, "AliasAttribute": "T_Ookii_CommandLine_AliasAttribute", diff --git a/src/Samples/ArgumentDependencies/README.md b/src/Samples/ArgumentDependencies/README.md index d4f7dd91..61093cd4 100644 --- a/src/Samples/ArgumentDependencies/README.md +++ b/src/Samples/ArgumentDependencies/README.md @@ -47,9 +47,9 @@ validators like [`ValidateRangeAttribute`][]), and all the included validators c case-by-case basis with the [`IncludeInUsageHelp`][IncludeInUsageHelp_0] property on each validator attribute. -[`ProhibitsAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ProhibitsAttribute.htm -[`RequiresAnyAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_RequiresAnyAttribute.htm -[`RequiresAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_RequiresAttribute.htm -[`UsageWriter.IncludeValidatorsInDescription`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_UsageWriter_IncludeValidatorsInDescription.htm -[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm -[IncludeInUsageHelp_0]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute_IncludeInUsageHelp.htm +[`ProhibitsAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ProhibitsAttribute.htm +[`RequiresAnyAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_RequiresAnyAttribute.htm +[`RequiresAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_RequiresAttribute.htm +[`UsageWriter.IncludeValidatorsInDescription`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_UsageWriter_IncludeValidatorsInDescription.htm +[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm +[IncludeInUsageHelp_0]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Validation_ArgumentValidationWithHelpAttribute_IncludeInUsageHelp.htm diff --git a/src/Samples/CustomUsage/README.md b/src/Samples/CustomUsage/README.md index 0766efbe..bde590f1 100644 --- a/src/Samples/CustomUsage/README.md +++ b/src/Samples/CustomUsage/README.md @@ -50,4 +50,4 @@ If you compare this with the usage output of the [parser sample](../Parser), whi output format, you can see just how much you can change by simply overriding some methods on the [`UsageWriter`][] class. -[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm diff --git a/src/Samples/NestedCommands/README.md b/src/Samples/NestedCommands/README.md index ceaaf468..3e8e1b98 100644 --- a/src/Samples/NestedCommands/README.md +++ b/src/Samples/NestedCommands/README.md @@ -79,7 +79,7 @@ You can see the sample has customized the parent command to: - Remove the a `version` command (nested version commands would kind of redundant). This was done by changing the [`CommandOptions`][] and using a simple custom -[`LocalizedStringProvider`][] derived class (see [CustomStringProvider.cs](CustomStringProvider.cs)). +[`UsageWriter`][] derived class (see [CustomUsageWriter.cs](CustomUsageWriter.cs)). If we run `./NestedCommand student -Help`, we get the same output. While the `student` command doesn't have a help argument (since it uses custom parsing, and not the [`CommandLineParser`][]), @@ -112,9 +112,9 @@ Usage: NestedCommands student add [-FirstName] [-LastName] [[- We can see the usage syntax correctly shows both command names before the arguments. -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm -[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandManager.htm -[`CommandOptions.CommandFilter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandFilter.htm -[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_CommandOptions.htm -[`ICommandWithCustomParsing`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Commands_ICommandWithCustomParsing.htm -[`LocalizedStringProvider`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_LocalizedStringProvider.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandManager`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandManager.htm +[`CommandOptions.CommandFilter`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_Commands_CommandOptions_CommandFilter.htm +[`CommandOptions`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_CommandOptions.htm +[`ICommandWithCustomParsing`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Commands_ICommandWithCustomParsing.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm diff --git a/src/Samples/Parser/README.md b/src/Samples/Parser/README.md index 9446d1c0..54b58b99 100644 --- a/src/Samples/Parser/README.md +++ b/src/Samples/Parser/README.md @@ -88,7 +88,7 @@ This is sample code, so you can use it freely. The `-Version` argument shows the value of the [`ApplicationFriendlyNameAttribute`][] (or the assembly name, if there isn't one), the assembly's informational version, and the assembly's copyright text. -[`ApplicationFriendlyNameAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_ApplicationFriendlyNameAttribute.htm -[`ParseOptions.ShowUsageOnError`]: https://www.ookii.org/docs/commandline-3.0-preview/html/P_Ookii_CommandLine_ParseOptions_ShowUsageOnError.htm -[`UsageHelpRequest.SyntaxOnly`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageHelpRequest.htm -[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm +[`ApplicationFriendlyNameAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_ApplicationFriendlyNameAttribute.htm +[`ParseOptions.ShowUsageOnError`]: https://www.ookii.org/docs/commandline-3.0/html/P_Ookii_CommandLine_ParseOptions_ShowUsageOnError.htm +[`UsageHelpRequest.SyntaxOnly`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageHelpRequest.htm +[`ValidateRangeAttribute`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_Validation_ValidateRangeAttribute.htm diff --git a/src/Samples/Subcommand/README.md b/src/Samples/Subcommand/README.md index f6e89f1b..b6d41913 100644 --- a/src/Samples/Subcommand/README.md +++ b/src/Samples/Subcommand/README.md @@ -77,6 +77,6 @@ Copyright (c) Sven Groot (Ookii.org) This is sample code, so you can use it freely. ``` -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser.htm [`TypeConverter`]: https://learn.microsoft.com/dotnet/api/system.componentmodel.typeconverter [Encoding_1]: https://learn.microsoft.com/dotnet/api/system.text.encoding diff --git a/src/Samples/Wpf/README.md b/src/Samples/Wpf/README.md index eff3a85c..02d0e6be 100644 --- a/src/Samples/Wpf/README.md +++ b/src/Samples/Wpf/README.md @@ -32,6 +32,6 @@ A similar approach would work for Windows Forms, or any other GUI framework. This application is very basic; it's just a sample, and I don't do a lot of GUI work nowadays. It's just intended to show how the [`UsageWriter`][] can be adapted to work in the context of a GUI app. -[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0-preview/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm -[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_CommandLineParser_1.htm -[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0-preview/html/T_Ookii_CommandLine_UsageWriter.htm +[`CommandLineParser.Parse()`]: https://www.ookii.org/docs/commandline-3.0/html/M_Ookii_CommandLine_CommandLineParser_Parse__1.htm +[`CommandLineParser`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_CommandLineParser_1.htm +[`UsageWriter`]: https://www.ookii.org/docs/commandline-3.0/html/T_Ookii_CommandLine_UsageWriter.htm