Files
tldr/pages.zh/common/betty.md

36 lines
653 B
Markdown
Raw Permalink 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.

# betty
> 使用自然语言执行命令。
> 更多信息:<https://github.com/pickhardt/betty>。
- 向Betty提问
`betty {{现在几点}}`
- 下载文件:
`betty download {{https://example.com/file.ext}} to {{path/to/output_file.ext}}`
- 将文件或目录压缩为支持的档案格式之一:
`betty {{zip}} {{path/to/file_or_directory}}`
- 将档案解压到当前目录:
`betty {{unzip}} {{archive.tar.gz}}`
- 将档案解压到指定目录:
`betty unarchive {{archive.tar.gz}} to {{path/to/directory}}`
- 播放Spotify
`betty play {{Spotify}}`
- 让Betty发疯
`betty go crazy`
- 显示版本:
`betty version`