|
1 | 1 | /*
|
2 |
| - * Copyright 2022-2023 the original author or authors. |
| 2 | + * Copyright 2022-2024 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -149,7 +149,7 @@ public Object catalogList(
|
149 | 149 | return tableBuilder.addFullBorder(BorderStyle.fancy_light).build();
|
150 | 150 | }
|
151 | 151 |
|
152 |
| - @Command(command = "add", description = "Add a project to a project catalog") |
| 152 | + @Command(command = "add", description = "Add a project catalog") |
153 | 153 | public void catalogAdd(@Option(description = "Catalog name", required = true) String name,
|
154 | 154 | @Option(description = "Catalog url", required = true) String url,
|
155 | 155 | @Option(description = "Catalog description") String description,
|
@@ -189,7 +189,7 @@ public void catalogAdd(@Option(description = "Catalog name", required = true) St
|
189 | 189 | }
|
190 | 190 | }
|
191 | 191 |
|
192 |
| - @Command(command = "remove", description = "Remove a project from a project catalog") |
| 192 | + @Command(command = "remove", description = "Remove a project catalog") |
193 | 193 | public void catalogRemove(@Option(description = "Catalog name", required = true) String name) {
|
194 | 194 | List<ProjectCatalog> originalProjectCatalogs = springCliUserConfig.getProjectCatalogs().getProjectCatalogs();
|
195 | 195 | List<ProjectCatalog> updatedProjectCatalogs = originalProjectCatalogs.stream()
|
|
0 commit comments