Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite to support ArgHolder classes #1

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e8ff551
options are not lazy, write some basic tests
Aug 16, 2012
0c8aaac
remove reliance on old sbt & scala, setup sbt for testing
Aug 16, 2012
6af8d7a
update .gitignore
Aug 16, 2012
d533f6b
work in progress. mostly discovering how broken the existing package…
Aug 20, 2012
725b7b0
pretty much a total rewrite ... still in progress though
Oct 3, 2012
a839de6
get rid of old optional code
Oct 3, 2012
2c4078f
change readme to markdown
Oct 3, 2012
4357de1
update readme
Oct 3, 2012
db7c037
oops, somehow deleted ArgumentParser, recreated it
Oct 4, 2012
61b3db1
add BooleanParser
Oct 4, 2012
a5cb8f3
add custom parsing, tests for subclass parsing
Oct 4, 2012
44863c5
change to apache2.0 license
Oct 4, 2012
ef0a6e6
add very primitive help messages
Oct 22, 2012
800994b
fixes to build file
Nov 16, 2012
51af96f
better error msg on unsupported types
Nov 16, 2012
bee1694
add support for longs & floats
Nov 16, 2012
3bf23f3
fix compile error
Nov 16, 2012
d1df18f
add SelectInput and MultiSelectInput. Required some major refactorin…
Dec 4, 2012
6383306
move code to reflet package organization
Dec 4, 2012
8a0ecea
remove unneeded jars
Dec 4, 2012
c0d7a7b
add ArgApp, but doesnt really work as cleanly as I wanted
Dec 4, 2012
661f665
working version of ArgApp
Dec 4, 2012
84326fd
expose argHolder of ArgApp
Dec 10, 2012
b9532c5
fix ArgApp to deal w/ multiple traits
Dec 10, 2012
9dfe3cc
dont turn scala helper fields & library helper fields into arguments
Dec 10, 2012
3733464
ignore fields with unknown types; get rid of pre- and post-parser stuff
Dec 15, 2012
501575d
more useful error msg: say which field we were trying to parse during…
Dec 18, 2012
c684b73
add support for Files and Regex
Dec 20, 2012
e3a573f
add suport for ~ to FileParser, w/ some tests
Dec 20, 2012
c444bf2
some renaming and adding to "ArgApp"
Dec 20, 2012
d9f4ddc
eliminate more preParser & postParser stuff
Dec 28, 2012
214ddda
add support for supplying an argument description and name via annota…
Dec 28, 2012
2949eef
include description in usage msg
Dec 28, 2012
feef754
update README
Dec 28, 2012
378daec
minor update to README
Dec 28, 2012
16b0d2b
ArgFunction is Argable also
Dec 28, 2012
c3a511e
include FileParser & RegexParser in default Parser list
Dec 29, 2012
e5378f1
introduce Args type, to allow more ways to specify arguments, and rem…
Jan 27, 2013
8da1af9
minor cleanup -- change filename, fix package of Args
Jan 27, 2013
9be0abf
mark method as tailrec, minor reformatting
Jan 27, 2013
1b7cbb0
various cleanup, make argument parser more functional
ryanlecompte Jan 28, 2013
44609c7
add missing catch-all
ryanlecompte Jan 28, 2013
92f92ab
minor cleanup
ryanlecompte Jan 28, 2013
1415e30
add deprecation warning back
ryanlecompte Jan 28, 2013
cc94298
Merge pull request #1 from ryanlecompte/master
squito Jan 28, 2013
5ba634c
Preserve order of SelectInput options.
mgedigian Feb 12, 2013
4bf1ba4
Merge pull request #2 from mgedigian/master
squito Feb 12, 2013
0392ce4
add travis yml file
ryanlecompte Feb 12, 2013
507247f
use test target
ryanlecompte Feb 12, 2013
26167d3
add build status to readme
ryanlecompte Feb 12, 2013
8abb21e
Merge pull request #3 from ryanlecompte/master
squito Feb 12, 2013
79c0686
SelectInput and ArgumentParser.parse retain order (using LinkedHashMa…
mgedigian Feb 13, 2013
1ff6b9a
Merge pull request #4 from mgedigian/master
mgedigian Feb 13, 2013
1496f31
remove everything, point to Sumac repo
Feb 26, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
*.class
*.log
build

# sbt specific
dist/*
target/
lib_managed/
src_managed/
project/boot/
project/plugins/project/

# Scala-IDE specific
.scala_dependencies
.idea
*.iml
*.ipr
*.iws
target-*

4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: scala
scala:
- 2.9.2
script: "SBT_OPTS=-XX:MaxPermSize=256m sbt ++$TRAVIS_SCALA_VERSION test"
25 changes: 0 additions & 25 deletions LICENSE

This file was deleted.

32 changes: 0 additions & 32 deletions README

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Moved to https://github.com/quantifind/Sumac. This repo is dead
1 change: 0 additions & 1 deletion lib/optional.jar

This file was deleted.

Binary file removed lib/paranamer-1.3.jar
Binary file not shown.
1 change: 0 additions & 1 deletion mkCommand

This file was deleted.

127 changes: 0 additions & 127 deletions pom.xml

This file was deleted.

7 changes: 0 additions & 7 deletions project/build.properties

This file was deleted.

Loading