Comments (3)
Good point, the documentation for SuperCommand needs some work.
Here's a minimal example:
https://github.com/jbock-java/jbock/blob/dd6a4aa11f34a709b3484226183036ce9c253d33/examples/src/main/java/net/jbock/examples/GitCommand.java
https://github.com/jbock-java/jbock/blob/dd6a4aa11f34a709b3484226183036ce9c253d33/examples/src/test/java/net/jbock/examples/GitCommandTest.java
Here's the wiki page:
https://github.com/jbock-java/jbock/wiki/subcommands
from jbock.
Sounds good to me. Thanks!
from jbock.
Hello again, just letting you know:
There was a breaking change in 5.16
.
The class SuperResult
was removed,
instead the @SuperCommand
must have a @VarargsParameter
of type List<String>
.
See updated wiki page.
from jbock.
Related Issues (14)
- use javax.lang.model for validation HOT 1
- allow Optional<String> arguments HOT 1
- Get rid of (mandatory) attributes
- Allow free type variable in collector
- Error parsing empty string
- Supplier<E> is compile error
- Changes in 3.4 HOT 1
- Desirable features HOT 1
- Add description attribute HOT 1
- uncaught validation error in 4.1.000 HOT 1
- Handle large commands
- ParserClass not public
- Dynamic and/or hidden parameters? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jbock.