.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-ports 1 "2023-02-01" Ronin DB "User Manuals" .SH NAME .PP ronin\-db\-ports \- Manages port numbers in the database .SH SYNOPSIS .PP \fBronin\-db ports\fR \[lB]\fIoptions\fP\[rB] .SH DESCRIPTION .PP Manages Ports\. .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 URL to the database\. .TP \fB\-\-import\fR \fIFILE\fP Imports the URLs from the given \fIFILE\fP\. .TP \fB\-\-delete\fR \fIVALUE\fP Deletes the URL from the database\. .TP \fB\-\-delete\-all\fR Deletes every URL from the database\. .TP \fB\-\-named\fR \fINAME\fP Searches for all Ports that contain \fINAME\fP in it\[cq]s name\. .TP \fB\-N\fR, \fB\-\-numer\fR \fIPORT\fP Searches for all Ports that are associated with the port number\. .TP \fB\-P\fR, \fB\-\-with\-protocol\fR \[lB]\fBtcp\fR\[or]\fBudp\fR\[rB] Searches for all Ports that are associated with the protocol\. .TP \fB\-S\fR, \fB\-\-with\-service\fR \fISERVICE\fP Searches for all Ports that are associated with the service\. .TP \fB\-I\fR, \fB\-\-with\-ip\fR \fIIP\fP Searches for all Ports associated with the IP address\. .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