feat: Working encrypt and decrypt commands.
This commit is contained in:
@@ -18,6 +18,14 @@ struct EncryptCommand: AsyncParsableCommand {
|
||||
var output: String?
|
||||
|
||||
mutating func run() async throws {
|
||||
fatalError()
|
||||
var args = ["encrypt"]
|
||||
if let output {
|
||||
args.append(contentsOf: ["--output", output])
|
||||
}
|
||||
try await runVault(
|
||||
commandName: Self.commandName,
|
||||
options: options,
|
||||
args
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user