nushell/crates/nu-command/src/filesystem
Ian Manske 903afda6d9
Remove required positional arg for some file system commands (#11858)
# Description
Fixes (most of) #11796. Some filesystem commands have a required
positional argument which hinders spreading rest args. This PR removes
the required positional arg from `rm`, `open`, and `touch` to be
consistent with other filesystem commands that already only have a
single rest arg (`mkdir` and `cp`).

# User-Facing Changes
`rm`, `open`, and `touch` might no longer error when they used to, but
otherwise there should be no noticeable changes.
2024-02-15 17:25:50 +00:00
..
cd.rs fix(cd): on android/termux fails to cd into /sdcard (#10329) 2023-12-19 16:48:20 +08:00
du.rs refactor: move du from platform to filesystem (#11852) 2024-02-15 06:55:21 +08:00
glob.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
ls.rs use constant instead of <0 for ls fix (#11642) 2024-01-29 13:17:04 -06:00
mkdir.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
mktemp.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
mod.rs refactor: move du from platform to filesystem (#11852) 2024-02-15 06:55:21 +08:00
mv.rs Unify glob behavior on open, rm, cp-old, mv, umv, cp and du commands (#11621) 2024-01-26 21:57:35 +08:00
open.rs Remove required positional arg for some file system commands (#11858) 2024-02-15 17:25:50 +00:00
rm.rs Remove required positional arg for some file system commands (#11858) 2024-02-15 17:25:50 +00:00
save.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
start.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
touch.rs Remove required positional arg for some file system commands (#11858) 2024-02-15 17:25:50 +00:00
ucp.rs Allow building on NetBSD (#11823) 2024-02-11 08:03:17 -06:00
umkdir.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
umv.rs Unify glob behavior on open, rm, cp-old, mv, umv, cp and du commands (#11621) 2024-01-26 21:57:35 +08:00
util.rs remove cp-old (#11622) 2024-01-24 07:38:15 +08:00
watch.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00