.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-phone-numbers 1 "2023-02-01" Ronin DB "User Manuals" .SH NAME .PP ronin\-db\-phone\-numbers \- Manages phone numbers in the database .SH SYNOPSIS .PP \fBronin\-db phone\-numbers\fR \[lB]\fIoptions\fP\[rB] .SH DESCRIPTION .PP Manages PhoneNumbers\. .SH OPTIONS .TP \fB\-\-db\fR \fINAME\fP The database to connect to\. Defaults to \fBdefault\fR if not given\. .TP \fB\-\-db\-uri\fR \fIURI\fP The explicit database URI to connect to\. .RS .RS .IP \(bu 2 \fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR .IP \(bu 2 \fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR .IP \(bu 2 \fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR .RE .RE .TP \fB\-\-db\-file\fR \fIPATH\fP The sqlite3 database file to use\. .TP \fB\-v\fR, \fB\-\-verbose\fR Enable verbose output\. .TP \fB\-\-add\fR \fIVALUE\fP Adds the phone number to the database\. .TP \fB\-\-import\fR \fIFILE\fP Imports the phone numbers from the given \fIFILE\fP\. .TP \fB\-\-delete\fR \fIVALUE\fP Deletes the phone number from the database\. .TP \fB\-\-delete\-all\fR Deletes every phone number from the database\. .TP \fB\-P\fR, \fB\-\-for\-person\fR \fIFULL\[ru]NAME\fP Searches for phone numbers associated with the person\[cq]s full name\. .TP \fB\-O\fR, \fB\-\-for\-organization\fR \fINAME\fP Searches for phone numbers associated with the organization\[cq]s name\. .TP \fB\-c\fR, \fB\-\-with\-country\-code\fR \fINUM\fP Searches for phone numbers with the matching 1\-3 digit country code\. .TP \fB\-a\fR, \fB\-\-with\-area\-code\fR \fINUM\fP Searches for phone numbers with the matching 3 digit area code\. .TP \fB\-p\fR, \fB\-\-with\-prefix\fR \fINUM\fP Searches for phone numbers with the matching 3 digit prefix number\. .TP \fB\-l\fR, \fB\-\-with\-line\-number\fR \fINUM\fP Searches for phone numbers with the matching 4 digit line number\. .TP \fB\-S\fR, \fB\-\-similar\-to\fR \fIPHONE\[ru]NUMBER\fP Searches for phone numbers that are similar to the given \fIPHONE\[ru]NUMBER\fP\. .TP \fB\-h\fR, \fB\-\-help\fR Print help information\. .SH ENVIRONMENT .TP \fIHOME\fP Alternate location for the user\[cq]s home directory\. .TP \fIXDG\[ru]CONFIG\[ru]HOME\fP Alternate location for the \fB\[ti]\[sl]\.config\fR directory\. .TP \fIXDG\[ru]DATA\[ru]HOME\fP Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\. .SH FILES .TP \fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR The default sqlite3 database file\. .TP \fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR Optional database configuration\. .SH AUTHOR .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME