Skip to content

Commit e1901f8

Browse files
Copilotadamsitnik
andcommitted
Remove System.CommandLine preview warning from all docs
- Removed scl-preview include from index.md, get-started-tutorial.md, syntax.md, how-to-configure-the-parser.md, how-to-customize-parsing-and-validation.md, how-to-enable-tab-completion.md, how-to-parse-and-invoke.md, and migration-guide-2.0.0-beta5.md - Deleted includes/preview.md file - Removed empty includes folder Co-authored-by: adamsitnik <[email protected]>
1 parent 692c640 commit e1901f8

File tree

9 files changed

+0
-23
lines changed

9 files changed

+0
-23
lines changed

docs/standard/commandline/get-started-tutorial.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ helpviewer_keywords:
1111
---
1212
# Tutorial: Get started with System.CommandLine
1313

14-
[!INCLUDE [scl-preview](./includes/preview.md)]
15-
1614
This tutorial shows how to create a .NET command-line app that uses the [`System.CommandLine` library](index.md). You'll begin by creating a simple root command that has one option. Then you'll build on that base, creating a more complex app that contains multiple subcommands and different options for each command.
1715

1816
In this tutorial, you learn how to:

docs/standard/commandline/how-to-configure-the-parser.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.topic: how-to
1212

1313
# How to configure the parser in System.CommandLine
1414

15-
[!INCLUDE [scl-preview](./includes/preview.md)]
16-
1715
Parsing and invocation are two separate steps, so each of them has their own configuration:
1816

1917
- <xref:System.CommandLine.ParserConfiguration> is a class that provides properties to configure the parsing. It is an optional argument for every `Parse` method, such as <xref:System.CommandLine.Command.Parse*?displayProperty=nameWithType> and <xref:System.CommandLine.Parsing.CommandLineParser.Parse*?displayProperty=nameWithType>.

docs/standard/commandline/how-to-customize-parsing-and-validation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.topic: how-to
1212

1313
# How to customize parsing and validation in System.CommandLine
1414

15-
[!INCLUDE [scl-preview](./includes/preview.md)]
16-
1715
By default, System.CommandLine provides a set of built-in parsers that can parse many common types:
1816

1917
* `bool`

docs/standard/commandline/how-to-enable-tab-completion.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.topic: how-to
1212

1313
# Tab completion for System.CommandLine
1414

15-
[!INCLUDE [scl-preview](./includes/preview.md)]
16-
1715
Apps that use `System.CommandLine` have built-in support for tab completion in certain shells. To enable it, the end user must take a few steps once per shell. Once this is done, tab completion is automatic for static values in your app, such as enum values or values defined by calling <xref:System.CommandLine.Option`1.AcceptOnlyFromAmong(System.String[])>. You can also customize tab completion by providing values dynamically at runtime.
1816

1917
## Enable tab completion

docs/standard/commandline/how-to-parse-and-invoke.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ helpviewer_keywords:
1111

1212
# Parsing and invocation in System.CommandLine
1313

14-
[!INCLUDE [scl-preview](./includes/preview.md)]
15-
1614
System.CommandLine provides a clear separation between command-line parsing and action invocation. The *parsing process* is responsible for parsing command-line input and creating a <xref:System.CommandLine.ParseResult> object that contains the parsed values (and parse errors). The *action invocation process* is responsible for invoking the action associated with the parsed command, option, or directive (arguments can't have actions).
1715

1816
In the following example from the [Get started with System.CommandLine](get-started-tutorial.md) tutorial, the `ParseResult` is created by parsing the command-line input. No actions are defined or invoked:

docs/standard/commandline/includes/preview.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/standard/commandline/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ ai-usage: ai-assisted
1313

1414
# System.CommandLine overview
1515

16-
[!INCLUDE [scl-preview](./includes/preview.md)]
17-
1816
The `System.CommandLine` library provides functionality commonly needed by command-line apps, such as parsing command-line input and displaying help text.
1917

2018
Apps that use `System.CommandLine` include the [.NET CLI](../../core/tools/index.md), [additional tools](../../core/additional-tools/index.md), and many [global and local tools](../../core/tools/global-tools.md).

docs/standard/commandline/migration-guide-2.0.0-beta5.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ helpviewer_keywords:
1111

1212
# System.CommandLine 2.0.0-beta5+ migration guide
1313

14-
[!INCLUDE [scl-preview](./includes/preview.md)]
15-
1614
The main focus for the 2.0.0-beta5 release was to improve the APIs and take a step toward releasing a stable version of System.CommandLine. The APIs have been simplified and made more coherent and consistent with the [Framework design guidelines](../design-guidelines/index.md). This article describes the breaking changes that were made in 2.0.0-beta5 and 2.0.0-beta7, and the reasoning behind them.
1715

1816
## Renaming

docs/standard/commandline/syntax.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.topic: concept-article
1212

1313
# Syntax overview: Commands, options, and arguments
1414

15-
[!INCLUDE [scl-preview](./includes/preview.md)]
16-
1715
This article explains the command-line syntax that `System.CommandLine` recognizes. The information is useful to both users and developers of .NET command-line apps, including the [.NET CLI](../../core/tools/index.md).
1816

1917
## Tokens

0 commit comments

Comments
 (0)