Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.77 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.77 KB

scala-argparse

project docs discord project chat latest version stability: firm

Pragmatic command line parsing for Scala applications.

Highlights

  • Simple interface, inspired by the argparse package from python.

  • Bash completion.

    • Standalone bash completion for a super snappy user experience, even on the JVM.

    • Interactive bash completion for the most custom needs.

  • Works with Scala 2 and 3, Native and JVM

Docs

  • HTML: look at the website
  • source (markdown): browse the docs/ folder.

Building

This project uses Mill to build. The configuration is in the build.sc file.

Developer

  • compile main project for all supported versions of scala: ./mill argparse.__.compile
  • run all tests: ./mill __.test
  • run an example:
    • ./mill examples.<name of example> <arguments>
    • e.g. ./mill examples.paramnamed --verbosity 5
    • note: examples use Scala Native and hence require llvm
  • publish main project locally: ./mill argparse.__.publishLocal

Maintainer

Look at the scripts in the ci/ directory.