argument('id'); $user = User::whereUsername($id)->orWhere('id', $id)->first(); if(!$user) { $this->error('Could not find any user with that username or id.'); exit; } $this->info('User ID: ' . $user->id); $this->info('Username: ' . $user->username); $this->info('Email: ' . $user->email); $this->info('Joined: ' . $user->created_at->diffForHumans()); } }