feat: Adds output values to some of the commands to allow them to be piped into other commands
This commit is contained in:
@@ -23,10 +23,11 @@ struct DecryptCommand: AsyncParsableCommand {
|
||||
mutating func run() async throws {
|
||||
@Dependency(\.vaultClient) var vaultClient
|
||||
|
||||
try await vaultClient.run(options.runOptions(
|
||||
let output = try await vaultClient.run.decrypt(options.runOptions(
|
||||
commandName: Self.commandName,
|
||||
route: .decrypt,
|
||||
outputFilePath: output
|
||||
))
|
||||
|
||||
print(output)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user