Skip to content

Commit

Permalink
feat: Added aliases for generate and replicate commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jan 14, 2025
1 parent 69b019b commit 08dc89d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/riot/src/main/java/com/redis/riot/Generate.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import picocli.CommandLine.ArgGroup;
import picocli.CommandLine.Command;

@Command(name = "generate", description = "Generate Redis data structures.")
@Command(name = "generate", aliases = "gen", description = "Generate Redis data structures.")
public class Generate extends AbstractRedisCommand {

private static final String TASK_NAME = "Generating";
Expand Down
2 changes: 1 addition & 1 deletion plugins/riot/src/main/java/com/redis/riot/Replicate.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import picocli.CommandLine.Command;
import picocli.CommandLine.Option;

@Command(name = "replicate", description = "Replicate a Redis database into another Redis database.", aliases = "sync")
@Command(name = "replicate", aliases = "sync", description = "Replicate a Redis database into another Redis database.")
public class Replicate extends AbstractReplicateCommand {

public enum Type {
Expand Down

0 comments on commit 08dc89d

Please sign in to comment.