feat: Moves logging setup and generate-json for the create command to cli-client module.

This commit is contained in:
2024-12-12 11:16:22 -05:00
parent ce6eb3ec2f
commit 7b30b78b67
14 changed files with 449 additions and 230 deletions

View File

@@ -1,4 +1,5 @@
import ArgumentParser
import CliClient
// Holds the common options for vault commands, as they all share the
// same structure.
@@ -29,3 +30,9 @@ struct VaultOptions: ParsableArguments {
}
}
extension VaultOptions {
func loggingOptions(commandName: String) -> CliClient.LoggingOptions {
globals.loggingOptions(commandName: commandName)
}
}