update doc

This commit is contained in:
vilmibm 2023-01-26 16:38:30 -08:00
parent 3af8e56c07
commit ba725d7af2

View file

@ -418,28 +418,19 @@ func NewCmdExtension(f *cmdutil.Factory) *cobra.Command {
Short: "Enter a UI for browsing, adding, and removing extensions",
Long: heredoc.Doc(`
This command will take over your terminal and run a fully interactive
interface for browsing, adding, and removing gh extensions.
interface for browsing, adding, and removing gh extensions. A terminal
width greater than 100 columns is recommended.
The extension list is navigated with the arrow keys or with j/k.
Space and control+space (or control + j/k) page the list up and down.
Extension readmes can be scrolled with page up/page down keys
(fn + arrow up/down on a mac keyboard).
For highlighted extensions, you can press:
- w to open the extension in your web browser
- i to install the extension
- r to remove the extension
Press / to focus the filter input. Press enter to scroll the results.
Press Escape to clear the filter and return to the full list.
To learn how to control this interface, press ? after running to see
the help text.
Press q to quit.
The output of this command may be difficult to navigate for screen reader
users, users operating at high zoom and other users of assistive technology. It
is also not advised for automation scripts. We advise those users to use the
alternative command:
Running this command with --single-column should make this command
more intelligible for users who rely on assistive technology like screen
readers or high zoom.
For a more traditional way to discover extensions, see:
gh ext search