https://github.com/hammerlab/cli-utils
Helpers for creating command-line applications
https://github.com/hammerlab/cli-utils
Last synced: 10 months ago
JSON representation
Helpers for creating command-line applications
- Host: GitHub
- URL: https://github.com/hammerlab/cli-utils
- Owner: hammerlab
- License: apache-2.0
- Created: 2016-12-02T20:03:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-28T04:41:47.000Z (almost 8 years ago)
- Last Synced: 2025-02-26T00:22:28.370Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 115 KB
- Stars: 3
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cli-utils
[](https://travis-ci.org/hammerlab/spark-commands)
[](https://codecov.io/gh/hammerlab/cli-utils)
Interfaces for creating CLI-runnable and testable commands/apps, with [Spark](http://spark.apache.org/)- and non-Spark-focused modules.
## base
[](http://search.maven.org/#search%7Cga%7C1%7Chammerlab.cli%20base)
Wrappers and extensions to [case-app]:
```scala
libraryDependencies += "org.hammerlab.cli" %% "base" % "1.0.1"
```
```scala
import hammerlab.cli._
```
See [examples in tests](base/src/test/scala/org/hammerlab/cli/base/app/IndexingAppTest.scala).
## spark
[](http://search.maven.org/#search%7Cga%7C1%7Chammerlab.cli%20spark)
```scala
libraryDependencies += "org.hammerlab.cli" %% "spark" % "1.0.1"
```
```scala
import hammerlab.cli.spark._
```
See [examples in tests](spark/src/test/scala/org/hammerlab/cli/spark/SumNumbersTest.scala).
[case-app]: https://github.com/alexarchambault/case-app