-
-
Notifications
You must be signed in to change notification settings - Fork 74
Implement NestedArguments (#529) #613
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
Conversation
By the way, I'm not quite sure how to write javadoc for 'thenNested', can someone help me? |
Oh I found that I modified one space and used unnecessary parentheses in two places, I'll fix it |
...dapi-bukkit-test-tests/src/test/java/dev/jorel/commandapi/test/CommandRegistrationTests.java
Outdated
Show resolved
Hide resolved
I've used some black magic for the implementation of the |
commandapi-core/src/main/java/dev/jorel/commandapi/AbstractArgumentTree.java
Outdated
Show resolved
Hide resolved
commandapi-core/src/main/java/dev/jorel/commandapi/AbstractArgumentTree.java
Outdated
Show resolved
Hide resolved
…umentTree.java Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
...in/commandapi-bukkit-kotlin/src/main/kotlin/dev/jorel/commandapi/kotlindsl/CommandTreeDSL.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: willkroboth <[email protected]>
Co-authored-by: DerEchtePilz <[email protected]>
Thank you for your help! Hopefully there are no other issues xD |
...pi-bukkit-kotlin-test/src/test/kotlin/dev/jorel/commandapi/test/dsltests/CommandTreeTests.kt
Outdated
Show resolved
Hide resolved
I'd really like to run some manual tests with this before merging but generally looks good. |
…commandapi-bukkit-kotlin-test/src/test/kotlin/dev/jorel/commandapi/test/dsltests/CommandTreeTests.kt Co-authored-by: willkroboth <[email protected]>
thanks for your help again! |
This looks good, thanks! |
Implemented the feature in #529 with Kotlin DSL support and changed the method name to 'thenNested' as suggested in Discord
Usage:
Java:
Kotlin:
Kotlin DSL