Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rename Command #2452

Closed
Mixficsol opened this issue Mar 6, 2024 · 0 comments · Fixed by #2455
Closed

Add Rename Command #2452

Mixficsol opened this issue Mar 6, 2024 · 0 comments · Fixed by #2455
Labels
✏️ Feature New feature or request

Comments

@Mixficsol
Copy link
Collaborator

Mixficsol commented Mar 6, 2024

Description

实现 Pika 中命令的替换,具体效果如下:
Pika 的配置文件中可以设置部分命令的别名,如图中所示例如把 flushall 命令改成 360flushall,使用操作上和之前保持一致,只是命令名字进行了改变,如果需要此功能可以把注释解除

截屏2024-03-06 11 14 28

在使用的时候利用别名去操作
截屏2024-03-06 11 19 06

Proposed solution

通过替换 Pika 中的 CmdTable 来实现此功能

@Mixficsol Mixficsol added the ✏️ Feature New feature or request label Mar 6, 2024
This was referenced Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✏️ Feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant