-i flag finished, lacking tests

This commit is contained in:
Gabriel B Gutierrez
2021-10-14 14:54:51 -03:00
parent 9ea7cdfc33
commit 8c2ae1eed1
8 changed files with 145 additions and 15 deletions

View File

@ -158,6 +158,13 @@ pub enum ShellError {
#[error("Remove not possible")]
#[diagnostic(code(nu::shell::remove_not_possible), url(docsrs))]
RemoveNotPossible(String, #[label("{0}")] Span),
#[error("No file to be removed")]
NoFileToBeRemoved(),
#[error("No file to be moved")]
NoFileToBeMoved(),
#[error("No file to be copied")]
NoFileToBeCopied(),
}
impl From<std::io::Error> for ShellError {