Linux command
gh-screensaver 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start a random screensaver
gh screensaver
Start a specific screensaver
gh screensaver -s [fireworks|starfield|pipes|marquee|life|pollock]
List
gh screensaver -l
Example
gh screensaver -s marquee -- --message="[Hello World]"
Example
gh screensaver -s starfield -- --density [500] --speed [8]
说明
gh screensaver is a GitHub CLI extension that displays animated terminal screensavers. Available screensavers are: fireworks, starfield, pipes, marquee, life (Conway's Game of Life), and pollock (paint splotches). Without -s, a random screensaver is chosen. Screensaver-specific options are passed after --. For example, marquee supports --message and --font; starfield supports --density and --speed; fireworks, pipes, and life support --color (full/off); life supports --seed (glider, noise, R, dragon, gun, pulsar). This extension must be installed first with gh extension install vilmibm/gh-screensaver. Press q or Ctrl+C to exit the screensaver.
参数
- -s, --saver _name_
- Screensaver to run (fireworks, starfield, pipes, marquee, life, pollock).
- -l, --list
- List available screensavers and exit.
- -R, --repo _repository_
- Run in the context of a repository (currently unused).
FAQ
What is the gh-screensaver command used for?
gh screensaver is a GitHub CLI extension that displays animated terminal screensavers. Available screensavers are: fireworks, starfield, pipes, marquee, life (Conway's Game of Life), and pollock (paint splotches). Without -s, a random screensaver is chosen. Screensaver-specific options are passed after --. For example, marquee supports --message and --font; starfield supports --density and --speed; fireworks, pipes, and life support --color (full/off); life supports --seed (glider, noise, R, dragon, gun, pulsar). This extension must be installed first with gh extension install vilmibm/gh-screensaver. Press q or Ctrl+C to exit the screensaver.
How do I run a basic gh-screensaver example?
Run `gh screensaver` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s, --saver _name_ do in gh-screensaver?
Screensaver to run (fireworks, starfield, pipes, marquee, life, pollock).