Skip to content

Make grouping configurable in build-in help #355

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

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

jvalkeal
Copy link
Contributor

- New option spring.shell.command.help.grouping-mode which can be either flat/group.
- Build-in help command can now choose if to group command or just show flat list.
- Fixes spring-projects#347
@jvalkeal
Copy link
Contributor Author

This would result for example:

AVAILABLE COMMANDS

  completion bash: Generate bash completion script
  help: Display help about available commands.
  history: Display or save the history of previously run commands
  script: Read and execute commands from a file.
  version: Show version info
  dependencies: List supported dependencies
  info: Show the Initializr server being used
  init: Initialize project

vs.

AVAILABLE COMMANDS

Built-In Commands
        completion bash: Generate bash completion script
        help: Display help about available commands.
        history: Display or save the history of previously run commands
        script: Read and execute commands from a file.
        version: Show version info

Initializr Commands
        dependencies: List supported dependencies
        info: Show the Initializr server being used
        init: Initialize project

@jvalkeal jvalkeal merged commit 9ec5ffa into spring-projects:main Feb 1, 2022
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 this pull request may close these issues.

Change or remove group of "Built-in Commands"
1 participant