Function nu_command::deprecated_commands
source · pub fn deprecated_commands() -> HashMap<String, String>
Expand description
Return map of <deprecated_command_name, new_command_name>
This covers simple deprecated commands nicely, but it’s not great for deprecating
subcommands like foo bar
where foo
is still a valid command.
For those, it’s currently easiest to have a “stub” command that just returns an error.