Skip to content

Commit

Permalink
feat(import): add dry-run message (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludviglundgren authored May 22, 2023
1 parent 3197b04 commit 888b9a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ func RunImport() *cobra.Command {

start := time.Now()

fmt.Printf("Preparing to import torrents from: %s dir: %s\n", source, sourceDir)
if dryRun {
fmt.Println("running with --dry-run, no data will be written")
}

switch source {
case "deluge":
d := importer.NewDelugeImporter()
Expand Down

0 comments on commit 888b9a7

Please sign in to comment.