easyengine/shell-command

在容器内运行有帮助的命令的Shell。

安装次数: 25,424

依赖者: 1

建议者: 0

安全性: 0

星标: 4

关注者: 5

分支: 7

开放问题: 4

类型:ee-cli-package

v1.1.1 2022-05-31 11:46 UTC

This package is auto-updated.

Last update: 2024-09-20 12:12:03 UTC


README

在容器内运行有帮助的命令的Shell。

快速链接: 使用 | 贡献 | 支持

使用

ee shell [<site-name>] [--user=<user>] [--service=<service>] [--command=<command>] [--skip-tty]

选项

[<site-name>]
	Name of website to run shell on.

[--user=<user>]
	Set the user to exec into shell.

[--service=<service>]
	Set the service whose shell you want.
	---
	default: php
	---

[--command=<command>]
	Command to non-interactively run in the shell.

[--skip-tty]
	Skips tty allocation.

示例

# Open shell for site
$ ee shell example.com

# Open shell with root user
$ ee shell example.com --user=root

# Open shell for some other service
$ ee shell example.com --service=nginx

# Run command non-interactively
$ ee shell example.com --service=nginx --command='nginx -t && nginx -s reload'

贡献

感谢您主动为这个项目做出贡献。

贡献不仅限于代码。我们鼓励您以最适合您能力的方式做出贡献,例如撰写教程、在当地聚会中演示、帮助其他用户解决支持问题或修订我们的文档。

报告错误

你认为你发现了一个错误?我们希望你能帮助我们将其修复。

在创建新问题之前,你应该搜索现有问题,看看是否已有解决方案,或者它是否已被较新版本修复。

一旦你进行了一些搜索并发现你的错误没有开放或已修复的问题,请创建一个新问题。请尽可能提供详细信息,并在可能的情况下提供清晰的复现步骤。

创建拉取请求

想贡献一个新特性?请首先创建一个新问题,讨论该特性是否适合本项目。

支持

Github问题不适用于一般性支持问题,但你可以尝试其他方式: https://easyengine.io/support/

此README.md文件是使用ee scaffold package-readme文档)从项目代码库动态生成的。要提出更改建议,请提交针对代码库相应部分的拉取请求。