5

I want to use scala to write some command line tools. I found a repository conscript, it seems is what I'm looking for, but lacks document and examples that I have a lot of troubles using it to create a simple Hello world demo.

Is there any other way to use scala to write command line tools?

Freewind
  • 193,756
  • 157
  • 432
  • 708
  • 1
    First of all, Conscript is a way to **distribute** your scala programs, not some full blown framework oriented on CLI development. – om-nom-nom Sep 11 '14 at 13:44
  • 1
    possible duplicate of [Scala: Best way to parse command-line parameters (CLI)?](http://stackoverflow.com/questions/2315912/scala-best-way-to-parse-command-line-parameters-cli) – Sean Vieira Sep 11 '14 at 14:29
  • I looked for such lib few months ago ad found the link [Scala: Best way to parse command-line parameters (CLI)?](http://stackoverflow.com/q/2315912) very helpful. At the end I choose [scopt](https://github.com/scopt/scopt) – roterl Sep 11 '14 at 18:42

1 Answers1

3

The accepted answer to this question still looks alike a good place to start, since having a good way to parse options and parameters is important. The scopt project mentioned there still looks alive and is decently documented.

Community
  • 1
  • 1
Spiro Michaylov
  • 3,531
  • 21
  • 19
  • 1
    Unfortunately, the linked answer doesn't definitively answer what's definitely the best option for options. – som-snytt Sep 11 '14 at 18:22