Skip to content

@Option Annotation #639

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

Closed
Tracked by #637
jvalkeal opened this issue Jan 25, 2023 · 0 comments
Closed
Tracked by #637

@Option Annotation #639

jvalkeal opened this issue Jan 25, 2023 · 0 comments
Milestone

Comments

@jvalkeal
Copy link
Contributor

Would be on a method level, replacement for @ShellOption.

Possible field ideas:

public @interface Option {
  String[] longNames() default {};
  char[] shortNames() default {};
  String description() default "";
  String defaultValue() default "";
}
@jvalkeal jvalkeal modified the milestone: 3.1.0-M1 Jan 25, 2023
@jvalkeal jvalkeal mentioned this issue Jan 25, 2023
7 tasks
jvalkeal added a commit to jvalkeal/spring-shell that referenced this issue Jan 27, 2023
- This is a first commit to add new annotation model
  which eventually will replace old legacy annotations
  like ShellComponent, ShellMethod, @ShellOption, etc.
- Adds subset of features needed for parity with manual
  use of CommandRegistration.
- Relates spring-projects#637
- Relates spring-projects#638
- Relates spring-projects#639
- Relates spring-projects#640
- Relates spring-projects#641
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

No branches or pull requests

1 participant