feat: Begins vault commands, adds nodes for rendering discussion documentation.
This commit is contained in:
23
Sources/hpa/VaultCommands/EncryptCommand.swift
Normal file
23
Sources/hpa/VaultCommands/EncryptCommand.swift
Normal file
@@ -0,0 +1,23 @@
|
||||
import ArgumentParser
|
||||
|
||||
struct EncryptCommand: AsyncParsableCommand {
|
||||
|
||||
static let commandName = "encrypt"
|
||||
|
||||
static let configuration = CommandConfiguration(
|
||||
commandName: commandName,
|
||||
abstract: createAbstract("Encrypt a vault file.")
|
||||
)
|
||||
|
||||
@OptionGroup var options: VaultOptions
|
||||
|
||||
@Option(
|
||||
name: .shortAndLong,
|
||||
help: "Output file."
|
||||
)
|
||||
var output: String?
|
||||
|
||||
mutating func run() async throws {
|
||||
fatalError()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user