sbctl/remove-*: Added remove logging to the commands

This commit is contained in:
Morten Linderud 2021-06-13 00:00:40 +02:00
parent 64cbd26bb3
commit 4ba10b9393
No known key found for this signature in database
GPG Key ID: E742683BA08CB2FF
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ var removeBundleCmd = &cobra.Command{
if err != nil {
return err
}
logging.Print("Removed %s from the database.\n", args[0])
return nil
},
}

View File

@ -28,6 +28,7 @@ var removeFileCmd = &cobra.Command{
if err := sbctl.WriteFileDatabase(sbctl.DBPath, files); err != nil {
return err
}
logging.Print("Removed %s from the database.\n", args[0])
return nil
},
}