Skip to content

ClientOptions

ratranqu edited this page Apr 26, 2021 · 2 revisions

ClientOptions

public struct ClientOptions: ParsableArguments 

Inheritance

ParsableArguments

Initializers

init()

public init() 

Properties

defaultHome

public static var defaultHome: String = ""

output

@Option(
        name: [.customShort("o"), .customLong("output")],
        help: "Output format (text|json)"
    )
    public var output: OutputFormat = .text

home

@Option(
        name: [.customLong("home")],
        help: "directory for config and data"
    )
    public var home: String = Self.defaultHome
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally