Function nu_command::removed_commands
source · pub fn removed_commands() -> HashMap<String, String>
Expand description
Return map of <removed_command_name, new_command_name>
This covers simple removed 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.