#!/usr/bin/env python
# -*- coding: utf-8 -*-

import click
import progressbar
import time
from playsound import playsound

@click.command()
@click.option('--minutes', '-m',  default=25, help='Number of minutes, default 25.')
@click.option('--seconds', '-s', help='Number of seconds.')
def main(minutes, seconds):
    bar = progressbar.ProgressBar(widgets=[
        progressbar.Bar(),
    ])
    seconds = 0 if seconds is None else int(seconds)
    for i in bar(range(minutes*60+seconds)):
        time.sleep(1)
        
    print("Take a 5 minutes break")
    playsound('ding.mp3')

if __name__ == '__main__':
    main()

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import click
import progressbar
import time

@click.command()
@click.option('--minutes', '-m',  default=25, help='Number of minutes, default 25.')
@click.option('--seconds', '-s', help='Number of seconds.')
def main(minutes, seconds):
    bar = progressbar.ProgressBar(widgets=[
        progressbar.Bar(),
    ])
    seconds = 0 if seconds is None else int(seconds)
    for i in bar(range(minutes*60+seconds)):
        time.sleep(1)
        
    print("Take a 5 minutes break")

if __name__ == '__main__':
    main()

Update main.py