Files
decypharr/main.go
Mukhtar Akere 16c825d5ba feat: restructure code; add size and ext checks (#39)
- Refractor code
- Add file size and extension checkers
- Change repair workflow to use zurg
2025-02-04 02:07:19 -08:00

24 lines
435 B
Go

package main
import (
"context"
"flag"
"github.com/sirrobot01/debrid-blackhole/cmd"
"github.com/sirrobot01/debrid-blackhole/internal/config"
"log"
)
func main() {
var configPath string
flag.StringVar(&configPath, "config", "config.json", "path to the config file")
flag.Parse()
config.SetConfigPath(configPath)
config.GetConfig()
ctx := context.Background()
if err := cmd.Start(ctx); err != nil {
log.Fatal(err)
}
}