You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2025. It is now read-only.
@@ -54,23 +54,13 @@ public AiCommands(OpenAiHandler openAiHandler, TerminalMessage terminalMessage)
54
54
55
55
@Command(command = "add", description = "Add code to the project from AI for a Spring Project project.")
56
56
publicvoidaiAdd(
57
-
@Option(description = "The description of the code to create, this can be as short as a well known Spring project name, e.g JPA.") Stringdescription,
57
+
@Option(description = "The description of the code to create, this can be as short as a well known Spring project name, e.g JPA.", required = true) Stringdescription,
58
58
@Option(description = "Path to run the command in, most of the time this is not necessary to specify and the default value is the current working directory.") Stringpath,
59
59
@Option(description = "Create the README.md file, but do not apply the changes to the code base.") booleanpreview,
60
60
@Option(description = "Rewrite the 'description' option the README.md file, but do not apply the changes to the code base.") booleanrewrite) {
61
-
handleNullDescription(description); // TODO Push this functinality into spring shell
0 commit comments