Path commands: Put column path args behid flag; Allow path join appending without flag (#4008)

* Change path join signature

* Appending now works without flag
* Column path operation is behind a -c flag

* Move column path arg retrieval to a function

Also improves errors

* Fix path join tests

* Propagate column path changes to all path commands

* Update path command examples with columns paths

* Modernize path command examples by removing "echo"

* Improve structured path error message

* Fix typo
This commit is contained in:
Jakub Žádník
2021-09-15 21:03:51 +03:00
committed by GitHub
parent 7fc65067cf
commit cc3653cfd9
14 changed files with 238 additions and 122 deletions

View File

@ -101,6 +101,7 @@ impl FromValue for i64 {
v.as_i64()
}
}
impl FromValue for Tagged<i64> {
fn from_value(v: &Value) -> Result<Self, ShellError> {
let tag = v.tag.clone();