{"repo":"lazamar/haskell-docs-cli","free":true,"listed":false,"github":"https://github.com/lazamar/haskell-docs-cli","clone":"git clone https://github.com/lazamar/haskell-docs-cli.git","description":"Browse Hackage from the terminal","language":"Haskell","stars":109,"topics":["haskell","command-line","cli"],"license":"BSD-3-Clause","category":"cli-tools","readme_excerpt":"haskell-docs-cli This package allows you to perform Hoogle searches and to navigate Hackage documentation and source code from the command line. Staying in the command line avoids switching to and from the browser, makes it easier to seach a documentation page, jumping through its content, and to view the source code of libraries. Read more about the rationale in the blog post. Installation Install from Hackage Installing the haskell-docs-cli package makes the hdc binary available. Install from source Download the project and run cabal install . It will make the hdc executable available in your path. Install from pre-built binaries Built binaries for macOS, linux and Windows can be downloaded from https://github.com/lazamar/haskell-docs-cli/releases. Functionalities Demo of all commands Search using Hoogle Just like in Hoogle, just type a function name or signature to search for matching entries in all of Hackage. You can select an option by typing its number or by searching for its name with / . Press Enter to view the contents of the current context (search, module or package) again. If in a search context, pressing Enter you will see the results again. The current context is displayed in the line above the prompt. View documentation Use :mdocumentation (or md for short) to view documentation about a module. It will show you the documentation for the first module to match a Hoogle search for the term you type. As this is a Hoogle search, you can use + to specify the package","default_branch":null,"files":null,"tree":[],"storefront":"/r/lazamar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lazamar/haskell-docs-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}