forked from jupyterlab/jupyter-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure all slash commands support
-h/--help
(jupyterlab#878)
* Fix help for slash commands * Do not add `-h` to the help command itself Co-authored-by: david qiu <david@qiu.dev> * Fix typo Co-authored-by: david qiu <david@qiu.dev> * Centralize handling of `-h`/`--help`, with opt-out via class attribute by default the `/help` and "default" handlers opt-out from `-h` handling * Add colon delimiter and wrap the arguments in backticks * Use Title case for help messages * Remove final leftover * Rename `display_arguments_help` to `supports_help` --------- Co-authored-by: david qiu <david@qiu.dev>
- Loading branch information
Showing
4 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters