dotnet-installer/src/dotnet
Peter Huene 089d8bfc1b
Remove internal-reportinstallsuccess from dotnet complete.
This commit removes `internal-reportinstallsuccess` from `dotnet complete` by
changing the command's help text to an empty string.  This causes the parser to
treat the command as hidden and does not match the command name for
suggestions.

Fixes #9111.
2018-05-16 14:07:33 -07:00
..
BuildServer LOC CHECKIN | dotnet/cli release/2.1.3xx | 20180427 2018-04-30 14:50:26 -07:00
CommandLine LOC CHECKIN | cli-release/2.0.0 | 20170714 2017-07-14 09:14:59 +02:00
commands Remove internal-reportinstallsuccess from dotnet complete. 2018-05-16 14:07:33 -07:00
Properties Implement tests for the list tool command. 2018-03-05 10:18:48 -08:00
ShellShim consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
Telemetry Log Windows product type and installation type, and Linux libc version (#8688) 2018-02-27 18:55:35 -08:00
ToolPackage Merge remote-tracking branch 'dotnet/release/2.1.3xx' into merges/release/2.1.3xx-to-release/2.1.4xx 2018-05-07 08:20:23 -07:00
xlf LOC CHECKIN | dotnet/cli release/2.1.3xx | 20180427 2018-04-30 14:50:26 -07:00
AppliedOptionExtensions.cs move dotnet-run 2017-03-10 10:13:11 -08:00
ArgumentForwardingExtensions.cs Fix incorrect default VSTest verbosity level. 2018-05-11 20:03:24 -07:00
AspNetCoreCertificateGenerator.cs Fix #if to match .csproj constant 2018-05-01 12:45:50 -07:00
BuiltInCommandMetadata.cs merge master 2017-03-19 17:09:05 -07:00
BuiltInCommandsCatalog.cs Rename buildserver command. 2018-04-17 17:04:12 -07:00
BundledTargetFramework.cs Global tools package obtain (#8035) 2017-11-21 20:10:06 -08:00
CommandBase.cs move parse result validation to CommandBase to allow custom messages 2017-03-19 14:30:43 -07:00
CommandCreationException.cs Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
CommonLocalizableStrings.resx consume bring your own shim(byos) (#9018) 2018-04-10 15:42:50 -07:00
CommonOptions.cs Replacing the short form version of implicit msbuild parameters with longform ones. 2018-04-02 22:54:51 -07:00
dotnet.csproj Add a property to disable bundling ASP.NET Core tools, templates, and runtimes 2018-04-30 17:49:09 -07:00
DotNetCommandFactory.cs merge master 2017-03-19 17:09:05 -07:00
DotNetTopLevelCommandBase.cs Convert to graceful exception (#8751) 2018-03-08 15:49:16 -08:00
ForwardingApp.cs Apply code review feedback 2017-04-27 09:30:40 -07:00
HelpException.cs Target netcoreapp2.1, eliminate warnings, treat warnings as errors 2017-08-25 20:17:57 -07:00
ICommandRunner.cs Fix tests 2016-08-26 18:14:04 -07:00
MsbuildProject.cs Fix relative path handling on Windows. 2017-10-24 11:23:52 -07:00
MsbuildProjectExtensions.cs Implement dotnet add project (#5022) 2016-12-14 13:53:11 -10:00
MulticoreJitActivator.cs display CommandParsingException gracefully (#5493) 2017-01-30 14:36:44 -08:00
MulticoreJitProfilePathCalculator.cs Update the CLI to netcoreapp2.0. 2017-01-26 07:28:59 -06:00
NuGetForwardingApp.cs Call into project in .NET SDK to create deps.json files for tools instead of doing so directly 2017-04-27 09:29:16 -07:00
Parser.cs Improve command completion. 2018-05-16 14:07:27 -07:00
ParseResultExtensions.cs check for help in DotNetTopLevelCommandBase 2017-03-23 08:15:41 -07:00
ParserExtensions.cs trigger help display using HelpException 2017-03-09 12:31:34 -08:00
PrintableTable.cs Fix list tool command tests to be localizable. 2018-03-20 16:53:49 -07:00
Program.cs Fix adding tools directory to PATH for native installers. 2018-05-07 16:35:29 -07:00
ProjectExtensions.cs introduce dotnet complete command 2017-03-06 12:19:06 -08:00
ProjectInstanceExtensions.cs Fix project type GUIDs when adding projects to solution files. 2018-03-22 21:32:39 -07:00
ProjectRootElementExtensions.cs Fix project type GUIDs when adding projects to solution files. 2018-03-22 21:32:39 -07:00
README.md Fixed broken links 2017-03-28 15:50:05 +02:00
SlnFileExtensions.cs Fix project type GUIDs when adding projects to solution files. 2018-03-22 21:32:39 -07:00
SlnFileFactory.cs Improve error messages for why a solution failed to load (#5176) 2016-12-29 09:21:55 -10:00
SlnProjectCollectionExtensions.cs Address PR comments 2017-01-24 15:02:19 -08:00
SlnProjectExtensions.cs Address PR comments 2017-01-24 15:02:19 -08:00
TopLevelCommandParserResult.cs Hashed telemetry and event name change (#7919) 2017-10-27 10:58:25 -07:00
TransactionalAction.cs Implement uninstall tool command. 2018-02-19 22:46:16 -08:00
UILanguageOverride.cs Fix VSLANG handling typo 2017-07-19 11:51:38 -07:00

% DOTNET(1) % Microsoft Corporation dotnetclifeedback@microsoft.com % June 2016

NAME

dotnet -- General driver for running the command-line commands

SYNOPSIS

dotnet [--version] [--help] [--verbose] [--info] <command> [<args>]

DESCRIPTION

dotnet is a generic driver for the Command Line Interface (CLI) toolchain. Invoked on its own, it will give out brief usage instructions.

Each specific feature is implemented as a command. In order to use the feature, the command is specified after dotnet, such as dotnet build. All of the arguments following the command are its own arguments.

The only time dotnet is used as a command on its own is to run portable apps. Just specify a portable application DLL after the dotnet verb to execute the application.

OPTIONS

-v, --verbose

Enables verbose output.

--version

Prints out the version of the CLI tooling.

--info

Prints out more detailed information about the CLI tooling, such as the current operating system, commit SHA for the version, etc.

-h, --help

Prints out a short help and a list of current commands.

DOTNET COMMANDS

The following commands exist for dotnet:

  • dotnet-new
    • Initializes a C# or F# console application project.
  • dotnet-restore
    • Restores the dependencies for a given application.
  • dotnet-build
    • Builds a .NET Core application.
  • dotnet-publish
    • Publishes a .NET portable or self-contained application.
  • dotnet-run
    • Runs the application from source.
  • dotnet-test
    • Runs tests using a test runner specified in the project.json.
  • dotnet-pack
    • Creates a NuGet package of your code.

EXAMPLES

dotnet new

Initializes a sample .NET Core console application that can be compiled and run.

dotnet restore

Restores dependencies for a given application.

dotnet compile

Compiles the application in a given directory.

dotnet myapp.dll

Runs a portable app named myapp.dll.

ENVIRONMENT

NUGET_PACKAGES

The primary package cache. If not set, it defaults to $HOME/.nuget/packages on Unix or %HOME%\NuGet\Packages on Windows.

DOTNET_SERVICING

Specifies the location of the servicing index to use by the shared host when loading the runtime.

DOTNET_CLI_TELEMETRY_OPTOUT

Specifies whether data about the .NET Core tools usage is collected and sent to Microsoft. true to opt-out of the telemetry feature (values true, 1 or yes accepted); otherwise, false (values false, 0 or no accepted). If not set, it defaults to false, that is, the telemetry feature is on.