https://github.com/mslinn/scopt-compose
An attempt to understand how the last 2 code example are supposed to work
https://github.com/mslinn/scopt-compose
scopt-parser
Last synced: 2 months ago
JSON representation
An attempt to understand how the last 2 code example are supposed to work
- Host: GitHub
- URL: https://github.com/mslinn/scopt-compose
- Owner: mslinn
- Created: 2019-09-09T21:26:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-24T15:21:40.000Z (over 5 years ago)
- Last Synced: 2025-01-09T01:12:06.285Z (4 months ago)
- Topics: scopt-parser
- Language: Scala
- Homepage: http://eed3si9n.com/scopt4
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SCOPT 4 Composable Parser
[](https://creativecommons.org/share-your-work/public-domain/cc0/)
[](https://travis-ci.org/mslinn/scopt-compose)
[](https://badge.fury.io/gh/mslinn%2Fscopt-compose)Trying to get a working version of the last 2 sample program listings shown in
[composing configuration datatype](http://eed3si9n.com/scopt4) code for
[scopt](https://github.com/scopt/scopt).## Running the Program
The `bin/run` Bash script assembles this project into a fat jar and runs it.
Sample usage, which runs the `ComposedChildren` entry point in `src/main/scala/Main.scala`:```
$ bin/run ComposedChildren
$ bin/run ComposedConfig
```The `-j` option forces a rebuild of the fat jar.
Use it after modifying the source code.```
$ bin/run -j ComposedChildren
$ bin/run -j ComposedConfig
```