@@ -15,20 +15,24 @@ robust solution with a clean, idiomatic API.
15
15
## Core Features
16
16
17
17
- ** Multi-Platform Support** : Easily integrate with various platforms including Bukkit, BungeeCord, Sponge, Velocity,
18
- JDA,
19
- and more.
18
+ JDA, Minestom, and more.
20
19
- ** Command Management** :
21
20
- Define commands using simple annotations and manage them effortlessly.
22
21
- Use spaces to define subcommands easily
23
22
- Have multiple variants of the same command
24
23
- Define parameters that come in the middle of the command
25
24
- ** Advanced Parameter Handling** : Support for context-based parameters, custom parameter types, and multiple parameter
26
25
variants.
26
+ - ** Optional parameters** : Define optional parameters and default values easily with ` @Optional ` and ` @Default `
27
+ - ** Flags and switches** :
28
+ - Define Unix-style switches (` --switch ` and ` -s ` ) and flags (` --value <value> ` or ` -v <value> ` )
29
+ - Use shorthand-syntax ` -s -p -r ` as ` -spr `
27
30
- ** Response Handling** : Configure how command responses are processed with flexible ` ResponseHandlers ` .
28
31
- ** Dependency Injection** : Inject dependencies directly into command classes using a simple builder pattern.
29
32
- ** Context Resolving** : Use context resolvers to handle complex command input scenarios.
30
- - ** Command Permissions** : Apply granular permissions with ` @CommandPermission ` annotations.
33
+ - ** Command Permissions** : Use built-in platform permissions, or define your own permission implementation with custom annotations.
31
34
- ** Modular Design with Visitors** : Extend Lamp’s functionality through modular visitors for dynamic feature additions.
35
+ - ** Custom annotation support** : Lamp allows you to create custom annotations and customize their behaviors.
32
36
- ** Fool-proof** : Lamp has been designed to reduce user error as much as possible. It uses idiomatic APIs, immutability,
33
37
and builders, to ensure you never run into bugs. Combined with extensive compiler annotations that will help you catch
34
38
any problems at compile-time
0 commit comments