Appearance
People Check
lindris people check
Check whether an email exists; exits 0 if yes, 3 if no
Synopsis
GET /api/people/check/{email}. The answer is the exit code, not the output: 0 prints "exists", and 3 prints NOTHING on either stream. Both are successful runs.
The silence on 3 is deliberate, so that a script can pipe the success case and nothing contradicts the code — but it does mean a bare run against an unknown address looks like it did nothing. Check $? before concluding that. 4, 5, 6 and 7 mean the question was never answered; those do print an error.
bash
lindris people check <email> [flags]Examples
bash
$ lindris people check [email protected] && echo exists || echo newSee Also
lindris people- Manage people (contacts) — wraps /api/people