21 lines
535 B
Swift
21 lines
535 B
Swift
import ArgumentParser
|
|
|
|
struct VaultCommand: AsyncParsableCommand {
|
|
|
|
static let commandName = "vault"
|
|
|
|
static let configuration = CommandConfiguration(
|
|
commandName: commandName,
|
|
abstract: createAbstract("Vault commands."),
|
|
discussion: Discussion(
|
|
.text("""
|
|
Allows you to run `ansible-vault` commands on your project or project-template.
|
|
"""),
|
|
.seeAlso(label: "Ansible Vault", command: "ansible-vault")
|
|
).render(),
|
|
subcommands: [
|
|
EncryptCommand.self, DecryptCommand.self
|
|
]
|
|
)
|
|
}
|