Class Library (C#)
Author: Microsoft
Description: A project for creating a class library that targets .NET or .NET Standard

Usage:
  dotnet new classlib [options] [template options]

Options:
  -n, --name <name>       The name for the output being created. If no name is specified, the name of the output directory is used.
  -o, --output <output>   Location to place the generated output.
  --dry-run               Displays a summary of what would happen if the given command line were run if it would result in a template creation.
  --force                 Forces content to be generated even if it would change existing files.
  --no-update-check       Disables checking for the template package updates when instantiating a template.
  --project <project>     The project that should be used for context evaluation.
  -lang, --language <C#>  Specifies the template language to instantiate.
  --type <project>        Specifies the template type to instantiate.

Template options:
  -f, --framework <net6.0|net7.0|net8.0|netstandard2.0|netstandard2.1>  The target framework for the project.
                                                                        Type: choice
                                                                          net8.0          Target net8.0
                                                                          netstandard2.1  Target netstandard2.1
                                                                          netstandard2.0  Target netstandard2.0
                                                                          net7.0          Target net7.0
                                                                          net6.0          Target net6.0
                                                                        Default: net8.0
  --langVersion <langVersion>                                           Sets the LangVersion property in the created project file
                                                                        Type: text
  --no-restore                                                          If specified, skips the automatic restore of the project on create.
                                                                        Type: bool
                                                                        Default: false

To see help for other template languages (F#, VB), use --language option:
   dotnet new classlib -h --language F#