feat: Working encrypt and decrypt commands.

This commit is contained in:
2024-11-30 19:27:18 -05:00
parent 81925a95d6
commit 56a406b231
7 changed files with 87 additions and 26 deletions

View File

@@ -18,6 +18,14 @@ struct DecryptCommand: AsyncParsableCommand {
var output: String?
mutating func run() async throws {
fatalError()
var args = ["decrypt"]
if let output {
args.append(contentsOf: ["--output", output])
}
try await runVault(
commandName: Self.commandName,
options: options,
args
)
}
}