nushell/crates/nu-command/src/commands
Jakub Žádník 82d69305b6
Path expand fixes (#3505)
* Throw an error if path failed to expand

Previously, it just repeated the non-expanded path.

* Allow expanding non-existent paths

This commit has a strange error in examples.

* Specify span manually in examples; Add an example

* Expand relative path without requiring cwd

* Remove redundant tilde expansion

This makes the tilde expansion in relative paths dependant on "dirs"
feature.

* Add missing example result

* Adjust path expand description

* Fix import error with missing feature
2021-06-07 05:28:55 +12:00
..
ansi Remove rest_args() from evaluated CommandArgs (#3449) 2021-05-20 10:26:23 +12:00
autoview Dataframe commands (#3498) 2021-05-27 17:09:48 +12:00
classified correctly escape pipe in windows/cmd.exe (#3489) 2021-05-25 09:19:45 -05:00
config Config commands to engine p (#3408) 2021-05-12 14:01:16 +12:00
dataframe Dataframe commands (#3502) 2021-06-03 18:23:14 +12:00
date delete crates/nu-command/src/commands/date/utc.rs (#3464) 2021-05-22 17:09:50 +12:00
drop commands to engine p (#3417) 2021-05-13 07:07:20 +12:00
each Do a bit more cleanup of block params (#3455) 2021-05-21 19:04:27 +12:00
format Make the default int an i64 (#3428) 2021-05-14 20:35:09 +12:00
hash_ Commands to engine p (#3426) 2021-05-15 16:11:07 +12:00
into remove str from (#3500) 2021-05-27 12:18:02 -05:00
keep Do a bit more cleanup of block params (#3455) 2021-05-21 19:04:27 +12:00
math Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
move_ Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
nu Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
parse Commands to engine (#3448) 2021-05-22 10:52:04 -05:00
path Path expand fixes (#3505) 2021-06-07 05:28:55 +12:00
random Make the default int an i64 (#3428) 2021-05-14 20:35:09 +12:00
roll Commands to engine (#3448) 2021-05-22 10:52:04 -05:00
rotate Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
skip Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
split Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
str_ remove str from (#3500) 2021-05-27 12:18:02 -05:00
table Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
url_ Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
all.rs Simplify expressions (#3389) 2021-05-12 13:01:48 +12:00
any.rs Do a bit more cleanup of block params (#3455) 2021-05-21 19:04:27 +12:00
append.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
args.rs nu-cli refactor moving commands into their own crate nu-command (#2910) 2021-01-12 17:59:53 +13:00
autoenv_trust.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
autoenv_untrust.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
autoenv.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
benchmark.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
build_string.rs engine-p: build-string remove ActionStream (#3394) 2021-05-08 16:59:12 +12:00
cal.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
cd.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
char_.rs Add path separator to char; Update char to engine-p; List all names of all possible chars (#3470) 2021-05-22 11:48:33 -05:00
chart.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
clear.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
clip.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
compact.rs Engine-p style in compact (#3325) 2021-04-19 06:40:29 +12:00
constants.rs nu-cli refactor moving commands into their own crate nu-command (#2910) 2021-01-12 17:59:53 +13:00
cp.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
debug.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
def.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
default_context.rs Dataframe commands (#3502) 2021-06-03 18:23:14 +12:00
default.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
describe.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
do_.rs Convert do command to engine-p; Fix flag name (#3503) 2021-05-28 10:12:52 +12:00
du.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
echo.rs Add for..in command (#3504) 2021-05-28 10:32:45 +12:00
empty.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
enter.rs Use enginep style in enter command (#3469) 2021-05-22 09:27:42 -05:00
every.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
exec.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
exit.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
first.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
flatten.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
for_in.rs Cleanup let varname and rhs (#3507) 2021-05-28 19:48:54 +12:00
from_csv.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_delimited_data.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_eml.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_ics.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_ini.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_json.rs Make the default int an i64 (#3428) 2021-05-14 20:35:09 +12:00
from_ods.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_ssv.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_toml.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_tsv.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_url.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_vcf.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_xlsx.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_xml.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from_yaml.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
from.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
get.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
group_by_date.rs port group-by date to engine-p (#3556) 2021-06-05 03:58:22 +12:00
group_by.rs port group-by to engine-p (#3458) 2021-05-21 21:19:43 -05:00
headers.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
help.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
histogram.rs remove str from (#3500) 2021-05-27 12:18:02 -05:00
history.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
if_.rs Fix external redirect (#3345) 2021-04-22 08:54:34 +12:00
insert.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
kill.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
last.rs Make the default int an i64 (#3428) 2021-05-14 20:35:09 +12:00
length.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
let_.rs Cleanup let varname and rhs (#3507) 2021-05-28 19:48:54 +12:00
let_env.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
lines.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
load_env.rs Add the load-env command (#3484) 2021-05-26 06:18:20 +12:00
ls.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
macros.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
merge.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
mkdir.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
next.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
nth.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
open.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
pivot.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
prepend.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
prev.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
pwd.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
range.rs Negative indexing for range (#3427) 2021-05-17 15:08:47 +12:00
reduce.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
reject.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
rename.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
reverse.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
rm.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
run_external.rs don't let externals break ansi escapes (#3438) 2021-05-17 18:01:34 -05:00
save.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
select.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
seq_dates.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
seq.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
shells.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
shuffle.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
size.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
sleep.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
sort_by.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
source.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
split_by.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
tags.rs Split OutputStream into ActionStream/OutputStream (#3304) 2021-04-12 14:35:01 +12:00
termsize.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
to_csv.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
to_delimited_data.rs Make the default int an i64 (#3428) 2021-05-14 20:35:09 +12:00
to_html.rs add nu-pretty-hex, add into binary, update binaryview (#3370) 2021-05-01 11:12:25 -05:00
to_json.rs Groupby operations on dataframes (#3473) 2021-05-23 19:37:04 +12:00
to_md.rs Simplify expressions (#3389) 2021-05-12 13:01:48 +12:00
to_toml.rs Groupby operations on dataframes (#3473) 2021-05-23 19:37:04 +12:00
to_tsv.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
to_url.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
to_xml.rs Move to* and from* to engine-p (#3320) 2021-04-15 19:43:33 +12:00
to_yaml.rs Groupby operations on dataframes (#3473) 2021-05-23 19:37:04 +12:00
to.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
touch.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
uniq.rs Groupby operations on dataframes (#3473) 2021-05-23 19:37:04 +12:00
update.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
version.rs add list of installed plugins to version command (#3548) 2021-06-03 08:53:32 -05:00
where_.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
which_.rs Simplify down to one type of context (#3379) 2021-05-03 11:45:55 +12:00
with_env.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00
wrap.rs Finish removing arg deserialization (#3552) 2021-06-04 18:23:57 +12:00