Skip to content

Restore default command naming as in Spring Shell 3 #1281

@ullenboom

Description

@ullenboom

In Spring Shell 3, the default command naming changed from snake_case to camelCase:

shell:>help
AVAILABLE COMMANDS

Built-In Commands
	clear: Clear the terminal screen
	history: Display or save the history of previously run commands
	quit, exit: Exit the shell
	help: Display help about available commands
	version: Show version info
	script: Execute commands from a script file
FsCommands Commands
	minimumFreeDiskSpace: Display required free disk space
	freeDiskSpace: Display free disk space

I would like to have the previous default naming back.

Additionally, I noticed a change in how command group names are derived from the command class name.
A @Component named FsCommands is now shown as “FsCommands Commands”, whereas previously it was “Fs Commands”. I preferred the earlier naming convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions