CommandConfig

struct CommandConfig : Service
  • Creates a CommandConfig containing all of Vapor’s default commands.

    var commandConfig = CommandConfig.default()
    // add other commands...
    services.register(commandConfig)
    

    Declaration

    Swift

    public static func `default`() -> CommandConfig