Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sbt/sbt-man
Looks up scaladoc.
https://github.com/sbt/sbt-man
Last synced: 2 months ago
JSON representation
Looks up scaladoc.
- Host: GitHub
- URL: https://github.com/sbt/sbt-man
- Owner: sbt
- Created: 2012-04-08T04:50:09.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-04T19:27:49.000Z (over 11 years ago)
- Last Synced: 2024-08-03T06:01:54.390Z (6 months ago)
- Language: Scala
- Homepage:
- Size: 57.6 KB
- Stars: 46
- Watchers: 19
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
- awesome-sbt-plugins - sbt-man - Looks up scaladoc. (DOCUMENTATION)
README
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 useThe above automatically adds `man` command.
It searches the scaladoc of Scala standard library and Scalaz using [Scalex][1], 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][2] is licensed using Apache v2 license.
Everything else is licensed using MIT License.[1]: http://scalex.org/
[2]: https://github.com/jonifreeman/Scalex-CLI