leo bell
This page is generated from the Cobra command tree.
leo bell
Section titled “leo bell”Play a system alert sound after a delay
Synopsis
Section titled “Synopsis”Show a countdown in the terminal, then play a system alert sound and print a message. Set the duration as an argument or with -t/–time, for example 120m, 3h, 300s, or 2m30s. Words after the duration are joined into one message; you can also use -m/–message. Press Ctrl+C to cancel. macOS displays a notification banner and requires terminal-notifier (brew install terminal-notifier). Allow terminal-notifier notifications and select Banners in System Settings > Notifications. Linux requires canberra-gtk-play.
leo bell [DURATION] [MESSAGE...] [flags]Examples
Section titled “Examples” leo bell 2m 提醒我 123 leo bell 2m -m hello leo bell -t 2m30s 提醒我 123 leo bell -t 3hOptions
Section titled “Options” -h, --help help for bell -m, --message string Message to display when the timer finishes (default "时间到了") -t, --time string Delay before ringing, for example 120m, 3h, 300s, or 2m30sOptions inherited from parent commands
Section titled “Options inherited from parent commands” -v, --version Print versionSEE ALSO
Section titled “SEE ALSO”- leo - Personal command-line tools