Added the "archivesPath" and the "name" properties to the AppArguments protocol in the library target.
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
import Logging
|
||||
|
||||
/// A type that defines the input arguments that the `Hummingbird`app receives.
|
||||
/// A protocol that defines the input arguments an application receives from the command line.
|
||||
public protocol AppArguments {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
/// A path to the location of the DocC archives in the local file system.
|
||||
var archivesPath: String { get }
|
||||
|
||||
/// A bind address for the app.
|
||||
var hostname: String { get }
|
||||
|
||||
/// A logging level to configure for the app.
|
||||
var logLevel: Logger.Level? { get }
|
||||
|
||||
/// A name for the app.
|
||||
var name: String { get }
|
||||
|
||||
/// A port for the app to use,
|
||||
var port: Int { get }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user