No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
Properties
.gitignore
Directory.Build.props
Program.cs
README.md
Result.cs
Utils.cs
docs.json
dotnet-doc.csproj
dotnet-doc.sln

README.md

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