nushell/crates/nu-command/src/commands/path
Jakub Žádník 1d1ec4727a
Refactor arguments of path subcommands & Add path join subcommand (#3123)
* Refactor path subcommand argument handling

DefaultArguments are no longer passed to each subcommand. Instead, each
subcommand has its own Path<xxx>Arguments. This means that it is no
longer necessary to edit every single path subcommand source file when
changing the arguments struct.

* Add new path join subcommand

Makes it easier to create new paths. It's just a wrapper around Rust's
Path.join().
2021-03-04 20:04:56 +13:00
..
basename.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
command.rs Fix latest clippy warnings (#3049) 2021-02-12 23:13:14 +13:00
dirname.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
exists.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
expand.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
extension.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
filestem.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
join.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
mod.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00
type.rs Refactor arguments of path subcommands & Add path join subcommand (#3123) 2021-03-04 20:04:56 +13:00