Skip to content

spboyer/dotnet-doc

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages