Skip to content

Instantly share code, notes, and snippets.

View popaaaandrei's full-sized avatar

Andrei Popa popaaaandrei

View GitHub Profile
@vzsg
vzsg / Config+Setup.swift
Created August 2, 2017 08:22
Custom command for daily and weekly tasks for Vapor 2
import FluentProvider
extension Config {
public func setup() throws {
// ...
addConfigurable(command: DailyCommand.init, name: "daily")
}
// ...
}