CLI Reference¶
Complete reference for the mapilli command-line interface.
Synopsis¶
Description¶
Query Finger servers from the command line.
Arguments¶
QUERY¶
The query string to send to the Finger server.
Formats:
| Format | Description | Example |
|---|---|---|
user@host |
Query user at host | alice@example.com |
user |
Query user (requires -h) |
alice -h example.com |
@host |
Forward to host | @remote.com |
/W user |
Verbose query | /W alice@example.com |
Options¶
-h, --host TEXT¶
Target host. Required if not specified in the query.
-p, --port INTEGER¶
Target port. Default: 79
-t, --timeout FLOAT¶
Request timeout in seconds. Default: 30.0
-W, --whois¶
Request verbose/whois output from the server. Adds the /W prefix to the query.
-V, --version¶
Show version and exit.
--help¶
Show help message and exit.
Examples¶
Query a User¶
List All Users¶
Verbose Output¶
Custom Timeout¶
Custom Port¶
Exit Codes¶
| Code | Description |
|---|---|
| 0 | Success |
| 1 | Error (timeout, connection, invalid query) |