CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 23 Aug 2025 10:49:51 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100617210954
location: https://web.archive.org/web/20100617210954/https://github.com/paulp/optional
server-timing: captures_list;dur=0.540232, exclusion.robots;dur=0.019802, exclusion.robots.policy;dur=0.008391, esindex;dur=0.010453, cdx.remote;dur=6.521385, LoadShardBlock;dur=151.919629, PetaboxLoader3.datanode;dur=66.963932, PetaboxLoader3.resolve;dur=52.220112
x-app-server: wwwb-app210
x-ts: 302
x-tr: 196
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 23 Aug 2025 10:49:52 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Thu, 17 Jun 2010 21:09:54 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "6d01fd08f74098b3c58a86076f75cee8"
x-archive-orig-x-runtime: 57ms
x-archive-orig-content-length: 21628
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 17 Jun 2010 21:09:54 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 17 Jun 2010 21:09:54 GMT", ; rel="memento"; datetime="Thu, 17 Jun 2010 21:09:54 GMT", ; rel="next memento"; datetime="Sat, 19 Jun 2010 09:13:23 GMT", ; rel="last memento"; datetime="Fri, 04 Jul 2025 16:00:28 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_16_20100617111121_crawl101-c/51_16_20100617210903_crawl101.arc.gz
server-timing: captures_list;dur=0.502337, exclusion.robots;dur=0.036424, exclusion.robots.policy;dur=0.026727, esindex;dur=0.010526, cdx.remote;dur=11.546325, LoadShardBlock;dur=221.810712, PetaboxLoader3.datanode;dur=214.434180, PetaboxLoader3.resolve;dur=254.840227, load_resource;dur=291.516965
x-app-server: wwwb-app210
x-ts: 200
x-tr: 585
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
paulp's optional at master - GitHub
paulp / optional forked from alexy/optional
- Source
- Commits
- Network (1)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
optional /
name | age | message | |
---|---|---|---|
![]() |
LICENSE | Tue Aug 11 03:44:28 -0700 2009 | Modified license and readme to steal all the cr... [paulp] |
![]() |
README | Tue Aug 11 03:44:28 -0700 2009 | Modified license and readme to steal all the cr... [paulp] |
![]() |
lib/ | Fri Aug 07 10:05:32 -0700 2009 | A bunch of work trying to get some real magic g... [paulp] |
![]() |
mkCommand | Fri Aug 07 10:05:32 -0700 2009 | A bunch of work trying to get some real magic g... [paulp] |
![]() |
project/ | Fri Aug 07 10:05:32 -0700 2009 | A bunch of work trying to get some real magic g... [paulp] |
![]() |
src/ | Tue Aug 11 05:02:08 -0700 2009 | Added -i option to sgrep; now sgrep -vi works a... [paulp] |
README
optional is a command line option parser and library. YOU WRITE: object MyAwesomeCommandLineTool extends optional.Application { // for instance... def main(count: Option[Int], file: Option[java.io.File], arg1: String) { [...] } } THEN YOU DO: scala MyAwesomeCommandLineTool --count 5 quux AND YOUR MAIN METHOD WILL BE INVOKED SUCH THAT: count = Some(5) file = None arg1 = quux See the example programs for many more features. HOW IT WORKS: Reflection, man. CREDITS: Idea and prototype implementation: DRMacIver. Fleshing out and awesomification: paulp.