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

Benstuffs #77

Closed
wants to merge 61 commits into from
Closed

Benstuffs #77

wants to merge 61 commits into from

Conversation

PaulJackson123
Copy link

Ben says there should already be a PR in stardog that goes with this.

mhgrove and others added 30 commits January 23, 2013 15:57
…roke a couple tests. but we dont want to trim in some cases for pre-formatted examples, so it seems like the middle ground is only trim from the end of the string rather than both sides, tests pass ane examples are formatted correctly
…application command, tests for examples & discussion stuff, test for default command
Whenever a command uses the -- option to separate options from
arguments, the parser will stop parsing options and start parsing
arguments instead.
A test was added to prove its functionality.
…est.

When parsing option token values in high arity options it would not stop
parsing options if it found another option - it would parse it as option
value. Now it is flexible in the number of option values, and it stops
parsing option values if another valid option is found.
….com/tesla/airline/commit/1e9d8ff2f55b0f017b93d1613d2265f9ba01bfa0) which provides support for custom creation of the commands instead of only using reflect to call the default constructor.  this allows a hook in to provide an injector from guice that can be used to appropriate instantiate the commands
….com/tesla/airline/commit/9da1ef7bbbefe6ee1063b3b5f661cbb8f060c975) which alters the application of the command options post-creation with the new commandfactory hook
….com/tesla/airline/commit/72d9b2f1909f2939e7e59bd3ee70669830b3d324) which adds new annotations to add commands to groups without having to specify them in the cli builder
…the builder. default is otherwise the default command factory, and you can still override the configured command factory with something from outside the cli

* reflection hack to do the same reflect based metadata accessor magic for Guice Inject that is done for javax.inject.Inject
…order the commands are defined, both w/in a command in w/in the command hierarchy is respected. This way commands on super classes are shown after the commands on the sub classes which ensures the most relevant to the command options are shown first in the usage.
…c command, does not handle group usage printing

* quick help hack to use the HTML format usage printing if a flag is enabled
cp-autobuild and others added 28 commits October 23, 2013 15:06
…ting help page for a command group; Also changed the wording from 'the most commonly used' commands when it's actually showing all the commands
…pdated UsagePrinter to append a newline only when all brackets on that line have been closed.
Changed spaces to underscores in man page names because ronn requires on...
Modifies Parser so that the allowedValues for an option are honoured and
an error thrown on illegal values
* Better handling of man page generation for ronn.
@PaulJackson123 PaulJackson123 deleted the benstuffs branch September 24, 2020 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants