Skip to content

Commit

Permalink
feat: Made generate-completion command visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Ruaux committed Jan 22, 2023
1 parent 896423b commit 226c453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.

This file was deleted.

3 changes: 2 additions & 1 deletion core/riot-core/src/main/java/com/redis/riot/RiotApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import io.lettuce.core.ReadFrom;
import io.lettuce.core.RedisURI;
import io.micrometer.core.instrument.util.IOUtils;
import picocli.AutoComplete;
import picocli.CommandLine;
import picocli.CommandLine.ArgGroup;
import picocli.CommandLine.Command;
Expand All @@ -26,7 +27,7 @@
import picocli.CommandLine.RunFirst;
import picocli.CommandLine.RunLast;

@Command(versionProvider = ManifestVersionProvider.class, subcommands = GenerateCompletionCommand.class)
@Command(versionProvider = ManifestVersionProvider.class, subcommands = AutoComplete.GenerateCompletion.class)
public class RiotApp {

@Mixin
Expand Down

0 comments on commit 226c453

Please sign in to comment.