Linux command
breathe 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start a session
breathe
Use a named preset
breathe --preset calm
Run a 5-minute custom session
breathe --duration 5 --ratio 4-6
Silent mode
breathe --no-sound --quiet
Skip logging
breathe --no-log
List all built-in presets
breathe --list-presets
Print the log file path
breathe --log
Show safety information
breathe --safety
说明
breathe is a single-file Python terminal application that guides the user through paced resonance breathing exercises, targeting about 6 breaths per minute as a vagal-tone training rhythm. It draws a moving bar pacer using direct ANSI escape codes (no curses), plays optional audio cues, and logs each completed session to a CSV file. When run without arguments, breathe picks a preset based on the time of day. The --preset, --duration, and --ratio flags override the defaults so the user can configure session length and inhale-to-exhale ratio independently.
参数
- -p, --preset _NAME_
- Use a named preset. Valid values: balanced, calm, extended.
- -d, --duration _MINUTES_
- Session length in minutes (1 to 60).
- -r, --ratio _IN-EX_
- Inhale and exhale timing in seconds, written as _IN-EX_ (for example 5-5 or 4-6).
- -n, --no-sound
- Disable audio cues.
- -q, --quiet
- Suppress startup warnings.
- --no-log
- Do not append this session to the CSV log.
- --log
- Print the log file path and exit.
- --safety
- Display safety information about paced breathing and exit.
- --list-presets
- Show the table of built-in presets and exit.
- --version
- Display the version number.
FAQ
What is the breathe command used for?
breathe is a single-file Python terminal application that guides the user through paced resonance breathing exercises, targeting about 6 breaths per minute as a vagal-tone training rhythm. It draws a moving bar pacer using direct ANSI escape codes (no curses), plays optional audio cues, and logs each completed session to a CSV file. When run without arguments, breathe picks a preset based on the time of day. The --preset, --duration, and --ratio flags override the defaults so the user can configure session length and inhale-to-exhale ratio independently.
How do I run a basic breathe example?
Run `breathe` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p, --preset _NAME_ do in breathe?
Use a named preset. Valid values: balanced, calm, extended.