这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jonsequitur
Copy link
Contributor

@jonsequitur jonsequitur commented Jun 7, 2019

This brings in minor updates to the command line parser.

Updated help looks like this. Thoughts?

> dotnet try -h
dotnet-try:
  Interactive documentation in your browser

Usage:
  dotnet-try [options] [<dir>] [command]

Arguments:
  <dir>    Specify the path to the root directory for your documentation

Options:
  --add-package-source <NuGet source>    Specify an additional NuGet package source
  --package <name or .csproj>            Specify a Try .NET package or path to a .csproj to run code samples with
  --package-version <version>            Specify a Try .NET package version to use with the --package option
  --uri <uri>                            Specify a URL or a relative path to a Markdown file
  --enable-preview-features              Enable preview features
  --log-path <dir>                       Enable file logging to the specified directory
  --verbose                              Enable verbose logging to the console
  --port <port>                          Specify the port for dotnet try to listen on
  --version                              Display version information

Commands:
  demo            Learn how to create Try .NET content with an interactive demo
  verify <dir>    Verify Markdown files in the target directory and its children.

> dotnet try verify -h
verify:
  Verify Markdown files in the target directory and its children.

Usage:
  dotnet-try [<dir>] verify [<dir>]

Arguments:
  <dir>    Specify the path to the root directory for your documentation

@jonsequitur jonsequitur force-pushed the update-System.CommandLine branch from 4fc0f09 to 41d670c Compare June 7, 2019 20:09
@jonsequitur jonsequitur force-pushed the update-System.CommandLine branch from 41d670c to fcfbe8b Compare June 8, 2019 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants