Crate nu_command
source · [−]Modules
Structs
Source a file for environment variables.
Source a file for environment variables.
Source a file for environment variables.
Source a file for environment variables.
Source a file for environment variables.
Source a file for environment variables.
Source a file for environment variables.
Functions
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.
The query
subcommand.
Sort a value. This only makes sense for lists and list-like things, so for everything else we just return the value as-is. CustomValues are converted to their base value and then sorted.
Sort a value in-place. This is more efficient than sort_value() because it avoids cloning, but it does not work for CustomValues; they are returned as-is.