forked from extern/nushell
Add Path commands (#280)
* Add Path command * Add `path basename` * Refactor operate into `mod` * Add `path dirname` * Add `path exists` * Add `path expand` * Remove Arc wrapper for args * Add `path type` * Add `path relative` * Add `path parse` * Add `path split` * Add `path join` * Fix errors after rebase * Convert to Path in `operate` * Fix table behavior in `path join` * Use conditional import in `path parse` * Fix missing cases for `path join` * Update default_context.rs * clippy * Fix tests * Fix tests Co-authored-by: JT <547158+jntrnr@users.noreply.github.com> Co-authored-by: JT <jonathan.d.turner@gmail.com>
This commit is contained in:
committed by
GitHub
parent
bee7ef21eb
commit
90ddb23492
@ -12,6 +12,7 @@ mod formats;
|
||||
mod hash;
|
||||
mod math;
|
||||
mod network;
|
||||
mod path;
|
||||
mod platform;
|
||||
mod random;
|
||||
mod shells;
|
||||
@ -33,6 +34,7 @@ pub use formats::*;
|
||||
pub use hash::*;
|
||||
pub use math::*;
|
||||
pub use network::*;
|
||||
pub use path::*;
|
||||
pub use platform::*;
|
||||
pub use random::*;
|
||||
pub use shells::*;
|
||||
|
Reference in New Issue
Block a user