From 855f8a9efa193abe7bd0cbd9490942080dffd4f6 Mon Sep 17 00:00:00 2001 From: zrone Date: Tue, 15 Jun 2021 14:30:59 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E6=B7=BB=E5=8A=A0=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=96=87=E6=A1=A3=20(#000)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 2 ++ README.md | 2 ++ src/Command/PowerManager.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 016eccb..b888eb9 100644 --- a/README.en.md +++ b/README.en.md @@ -33,6 +33,8 @@ Automated deployment using webhook to automate project deployment and release wi - `php bin/grace project create` Create Configuration - `php bin/grace project modify project_name` Modify Configuration - `php bin/grace project remove project_name` Remove Configuration + - `php bin/grace power id_rsa [repository [domain]]` Check whether the RSA is effective. Support gitee, GitHub and gitlab. Note that gitlab needs to fill in the detection domain + - `php bin/grace project check [project]` Check directory permissions ![img_3.png](img_3.png) #### Instructions diff --git a/README.md b/README.md index d5991c2..1d6d469 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ - `php bin/grace project create` 创建配置 - `php bin/grace project modify project_name` 删除配置 - `php bin/grace project remove project_name` 修改配置 + - `php bin/grace power id_rsa [repository [domain]]` 检查rsa是否有效,支持gitee、github和gitlab, 注意gitlab需要填写检测domain + - `php bin/grace project check [project]` 创建配置 ![img_3.png](img_3.png) diff --git a/src/Command/PowerManager.php b/src/Command/PowerManager.php index 8890eb4..e950cbf 100644 --- a/src/Command/PowerManager.php +++ b/src/Command/PowerManager.php @@ -44,7 +44,7 @@ protected function configure() InputArgument::IS_ARRAY | InputArgument::REQUIRED, <<<'DESC' id_rsa [repository [domain]] 检查rsa是否有效,支持gitee、github和gitlab, 注意gitlab需要填写检测domain -check [project] 创建配置 +check [project] 检查目录权限 DESC ); }