Skip to content

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