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

help: Add a keyword feature #4630

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Commits on Oct 31, 2024

  1. help: Add a keyword feature

    It would be nice to not need to go the documentation website. This aims
    to solve that by introducing the concept of keyword to the help
    command.
    
    Basically, keywords are things that we want to add help messages to,
    but they don't necessarily have an associated subcommand.
    
    For now we only have two keywords:
    	- `revsets`: Shows the docs for revsets
    	- `tutorial`: Shows the tutorial that is on the documentation
    
    You get the keyword content by tipping `jj help --keyword revsets` or
    `jj help -k revsets`.
    
    You can also list the available keywords with `jj help --help`.
    
    It would be nice to have all the documentation on the keywords, maybe
    a next commit could do it.
    Grillo-0 committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    4306d04 View commit details
    Browse the repository at this point in the history