Files
tldr/pages.zh/common/clip-view.md

33 lines
852 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# clip-view
> 命令行界面页面渲染。
> 为一个类似TlDr的项目渲染具有更广泛的语法和多种渲染模式。
> 更多信息:<https://github.com/command-line-interface-pages/v2-tooling/tree/main/clip-view>。
- 渲染特定的本地页面:
`clip-view {{path/to/page1.clip path/to/page2.clip ...}}`
- 渲染特定的远程页面:
`clip-view {{page_name1 page_name2 ...}}`
- 按特定渲染方式渲染页面:
`clip-view --render {{tldr|tldr-colorful|docopt|docopt-colorful}} {{page_name1 page_name2 ...}}`
- 使用特定颜色主题渲染页面:
`clip-view --theme {{path/to/local_theme.yaml|remote_theme_name}} {{page_name1 page_name2 ...}}`
- 清除页面或主题缓存:
`clip-view --clear-{{page|theme}}-cache`
- 显示帮助信息:
`clip-view --help`
- 显示版本信息:
`clip-view --version`