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

Provide /cmd help with list of possible commands and aliases #97

Closed
Tracked by #126
mordamax opened this issue Aug 2, 2022 · 1 comment · Fixed by #154
Closed
Tracked by #126

Provide /cmd help with list of possible commands and aliases #97

mordamax opened this issue Aug 2, 2022 · 1 comment · Fixed by #154
Assignees

Comments

@mordamax
Copy link
Contributor

mordamax commented Aug 2, 2022

  • implement the way to define aliases for long commands

As I see from comments: most common expectation of simplicity is bot {command}. but this pattern is used in processbot, so we can't re-use here it probably

  • send either link to help with list of commands & aliases or comment in PR

One of the options is - each pull-request (where bot is supported), the first comment would be listing all possible commands, or linking to docs with up-to-date list of supported bots and their commands (like tip bot, processbot, command bot, etc)

@mordamax mordamax mentioned this issue Aug 2, 2022
@shawntabrizi
Copy link
Member

shawntabrizi commented Aug 25, 2022

Ideally, there would be a list of "shortcut" commands which would map to the appropriate /cmd thing.

For example, benchmarking is quite a popular command, i would want a shortcut /benchmark which would be a string replace for /cmd queue -v RUST_LOG=debug -c bench-bot $.

All aliases could be listed in some JSON or similar.

Then I could write /benchmark runtime westend-dev pallet_balances rather than /cmd queue -v RUST_LOG=debug -c bench-bot $ runtime westend-dev pallet_balances

Its a small thing, but improves user experience quite a bit for me.

@mordamax mordamax self-assigned this Oct 5, 2022
@mordamax mordamax mentioned this issue Dec 15, 2022
8 tasks
@mordamax mordamax linked a pull request Jan 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants