diff --git a/app/Console/Commands/PostStatus.php b/app/Console/Commands/StatusPost.php similarity index 99% rename from app/Console/Commands/PostStatus.php rename to app/Console/Commands/StatusPost.php index ddfce8164..f6cde4848 100644 --- a/app/Console/Commands/PostStatus.php +++ b/app/Console/Commands/StatusPost.php @@ -10,14 +10,14 @@ use Illuminate\Console\Command; use Illuminate\Support\Facades\Storage; use Illuminate\Support\Str; -class PostStatus extends Command +class StatusPost extends Command { /** * The name and signature of the console command. * * @var string */ - protected $signature = 'post:status {id : Status id, or a post URL like https://host/p/username/ID}'; + protected $signature = 'status:post {id : Status id, or a post URL like https://host/p/username/ID}'; /** * The console command description. diff --git a/app/Console/Commands/ProfileStatus.php b/app/Console/Commands/StatusProfile.php similarity index 98% rename from app/Console/Commands/ProfileStatus.php rename to app/Console/Commands/StatusProfile.php index 9322678c3..fd224583e 100644 --- a/app/Console/Commands/ProfileStatus.php +++ b/app/Console/Commands/StatusProfile.php @@ -8,14 +8,14 @@ use App\Models\User; use Illuminate\Console\Command; use Illuminate\Support\Str; -class ProfileStatus extends Command +class StatusProfile extends Command { /** * The name and signature of the console command. * * @var string */ - protected $signature = 'profile:status {id : Profile id, username, user@domain, @user@domain, webfinger, or remote_url}'; + protected $signature = 'status:profile {id : Profile id, username, user@domain, @user@domain, webfinger, or remote_url}'; /** * The console command description. @@ -212,7 +212,7 @@ class ProfileStatus extends Command ['last_active_at', $this->format($user->last_active_at)], ]; $this->table(['User Field', 'Value'], $rows); - $this->comment('Tip: run `user:status '.$user->username.'` for full auth diagnostics.'); + $this->comment('Tip: run `status:user '.$user->username.'` for full auth diagnostics.'); } protected function dumpInstance(Profile $profile): void diff --git a/app/Console/Commands/UserStatus.php b/app/Console/Commands/StatusUser.php similarity index 99% rename from app/Console/Commands/UserStatus.php rename to app/Console/Commands/StatusUser.php index 96702463a..9615fb32c 100644 --- a/app/Console/Commands/UserStatus.php +++ b/app/Console/Commands/StatusUser.php @@ -9,14 +9,14 @@ use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; -class UserStatus extends Command +class StatusUser extends Command { /** * The name and signature of the console command. * * @var string */ - protected $signature = 'user:status {id : Username or numeric user id} + protected $signature = 'status:user {id : Username or numeric user id} {--logs=10 : Number of recent account log entries to show}'; /**