add option --no-motd

This commit is contained in:
crazywhalecc
2023-04-23 20:54:51 +08:00
parent f0a987ba3a
commit e6c9112575
3 changed files with 8 additions and 16 deletions

View File

@@ -1,13 +0,0 @@
<?php
declare(strict_types=1);
namespace SPC\builder\traits;
/**
* 仅供 Command 使用,如果使用了该 Trait则在执行对应命令时不打印 motd
*/
trait NoMotdTrait
{
protected bool $no_motd = true;
}