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

36 lines
775 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.

# flyctl
> flyctl.io 的命令行工具。
> 更多信息:<https://github.com/superfly/flyctl>。
- 登录 Fly 账户:
`flyctl auth login`
- 从特定的 Dockerfile 启动应用程序(默认路径为当前工作目录):
`flyctl launch --dockerfile {{path/to/dockerfile}}`
- 在默认网页浏览器中打开当前已部署的应用程序:
`flyctl open`
- 从特定的 Dockerfile 部署 Fly 应用程序:
`flyctl deploy --dockerfile {{path/to/dockerfile}}`
- 在网页浏览器中打开当前应用程序的 Fly Web UI
`flyctl dashboard`
- 列出登录的 Fly 账户中的所有应用程序:
`flyctl apps list`
- 查看特定正在运行的应用程序的状态:
`flyctl status --app {{app_name}}`
- 显示版本信息:
`flyctl version`