dotnet-doc 1.0.1

Global tool for searching docs.microsoft.com

dotnet tool install --global dotnet-doc --version 1.0.1
This package contains a .NET Core Global Tool you can call from the shell/command line.

docs

Global tool for search docs.microsoft.com using the command line.

Installation

dotnet install tool -g dotnet-doc

Usage

docs
Usage: docs [arguments] [options]

Arguments:
  Terms

Options:
  -?|-h|--help           Show help information
  -l|--lucky             Open first result
  -c|--console           Output option to console
  -n|--number <RESULTS>  Number of results 1 - 25

Example search for any MVC content

# opens default browser with search results from docs.microsoft.com
docs mvc

Return 5 results within console

docs mvc --console --number 5

Items found: 6584

ASP.NET MVC 2
https://docs.microsoft.com/en-us/aspnet/mvc/videos/mvc-2/

ASP.NET MVC 1
https://docs.microsoft.com/en-us/aspnet/mvc/videos/mvc-1/

ASP.NET MVC 4
https://docs.microsoft.com/en-us/aspnet/mvc/videos/mvc-4/

Microsoft.AspNetCore.Mvc.ApplicationParts Namespace
https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.applicationparts

Adding a View to an MVC app
https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/adding-a-view

Feeling Lucky?

# open the first result
docs ".NET Docker" -l

docs

Global tool for search docs.microsoft.com using the command line.

Installation

dotnet install tool -g dotnet-doc

Usage

docs
Usage: docs [arguments] [options]

Arguments:
  Terms

Options:
  -?|-h|--help           Show help information
  -l|--lucky             Open first result
  -c|--console           Output option to console
  -n|--number <RESULTS>  Number of results 1 - 25

Example search for any MVC content

# opens default browser with search results from docs.microsoft.com
docs mvc

Return 5 results within console

docs mvc --console --number 5

Items found: 6584

ASP.NET MVC 2
https://docs.microsoft.com/en-us/aspnet/mvc/videos/mvc-2/

ASP.NET MVC 1
https://docs.microsoft.com/en-us/aspnet/mvc/videos/mvc-1/

ASP.NET MVC 4
https://docs.microsoft.com/en-us/aspnet/mvc/videos/mvc-4/

Microsoft.AspNetCore.Mvc.ApplicationParts Namespace
https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.applicationparts

Adding a View to an MVC app
https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/adding-a-view

Feeling Lucky?

# open the first result
docs ".NET Docker" -l

Version History

Version Downloads Last updated
1.0.4 87 4/17/2018
1.0.3 64 4/13/2018
1.0.2 128 4/13/2018
1.0.1 (current) 72 4/10/2018