We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before executing the command, it may be necessary to check args and flags. If there are illegal arguments, an error should be returned directly.
Include but not limit to the following possible checks:
cat
sign
tee
src
cat (sign, tee): src: Is a directory
cp
move
--recursive
dst
src == dst
cp: 'src' and 'dst' are the same
Dir(src) == dst
rm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Before executing the command, it may be necessary to check args and flags. If there are illegal arguments, an error should be returned directly.
Include but not limit to the following possible checks:
cat
,sign
,tee
src
is a dir,cat (sign, tee): src: Is a directory
should returncp
andmove
src
is a dir,--recursive
option is requireddst
should be a directorysrc == dst
,cp: 'src' and 'dst' are the same
error should return (similarly,Dir(src) == dst
)dst
is the subdirectory ofsrc
, maybe we should reject?rm
src
is a dir,--recursive
option is requiredThe text was updated successfully, but these errors were encountered: