Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Looks up scaladoc.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 notes
Octocat-spinner-32 project
Octocat-spinner-32 src
Octocat-spinner-32 README.markdown
Octocat-spinner-32 build.sbt
README.markdown

sbt-man

sbt-man is an sbt plugin for looking up scaladoc.

how to setup

For sbt 0.12, add the following to your ~/.sbt/plugins/build.sbt:

addSbtPlugin("com.eed3si9n" % "sbt-man" % "0.1.0")

For sbt 0.13, add the following to your ~/.sbt/0.13/plugins/man.sbt:

addSbtPlugin("com.eed3si9n" % "sbt-man" % "0.1.1")

how to use

The above automatically adds man command. It searches the scaladoc of Scala standard library and Scalaz using Scalex, and displays the first result.

> man Traversable /:
[man] scala.collection.Traversable
[man] def /:[B](z: B)(op: (B ⇒ A ⇒ B)): B
[man] Applies a binary operator to a start value and all elements of this
collection, going left to right. Note: /: is alternate syntax for foldLeft;
z /: xs is the same as xs foldLeft z. Note: will not terminate for infinite-
sized collections. Note: might return different results for different runs,
unless the underlying collection type is ordered. or the operator is
associative and commutative. 

license

Anything I copied from Scalex-CLI is licensed using Apache v2 license. Everything else is licensed using MIT License.

Something went wrong with that request. Please try again.