yapusher/main.go

25 lines
400 B
Go
Raw Normal View History

2019-03-29 09:31:37 +04:00
// Yandex Disk File Pusher
// Copyright (c) 2019 Vladimir "fat0troll" Hodakov
package main
import (
"github.com/fat0troll/yapusher/domains/yandex/v1"
"github.com/fat0troll/yapusher/internal/context"
)
func main() {
c := context.New()
c.Init()
c.InitConfig()
// Initializing domains
yandexv1.New(c)
// Parsing app flags
c.Flagger.Parse()
// Authorizing to Yandex
yandexv1.Process()
}