Expose CommandRegistration in CommandContext

- Fixes #420
This commit is contained in:
Janne Valkealahti
2022-05-18 08:18:38 +01:00
parent b119473881
commit c7d3eb15b4
4 changed files with 43 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ import org.springframework.shell.command.CommandContext;
@SuppressWarnings("unused")
public class CommandContextSnippets {
CommandContext ctx = CommandContext.of(null, null, null);
CommandContext ctx = CommandContext.of(null, null, null, null);
void dump1() {
// tag::snippet1[]