Skip to content

Commit

Permalink
feat: 更新版本号至0.6.7并添加命令别名
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Jan 20, 2025
1 parent faef901 commit c732a49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/rmtrash/rmtrash.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ struct Command: ParsableCommand {
commandName: "rmtrash",
abstract: "Move files and directories to the trash.",
discussion: "rmtrash is a small utility that will move the file to macOS's Trash rather than obliterating the file (as rm does).",
version: "0.6.6",
version: "0.6.7",
shouldDisplay: true,
subcommands: [],
helpNames: .long
helpNames: .long,
aliases: ["trash", "del", "rm"]
)

@Flag(name: .shortAndLong, help: "Ignore nonexistant files, and never prompt before removing.")
Expand Down Expand Up @@ -400,7 +401,6 @@ extension Trash {
} else {
// can not remove directory when not recursive and not emptyDirs
throw canNotRemovePanic(path: path, err: "Is a directory")

}
}
}
Expand Down

0 comments on commit c732a49

Please sign in to comment.