.\" Generated by kramdown-man 0.1.8 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-urls 1 "2023-02-01" Ronin "User Manuals" .LP .SH SYNOPSIS .LP .HP \fBronin-db urls\fR \[lB]\fIoptions\fP\[rB] .LP .SH DESCRIPTION .LP .PP Manages URLs\. .LP .SH OPTIONS .LP .TP \fB--db\fR \fINAME\fP The database to connect to\. Defaults to \fBdefault\fR if not given\. .LP .TP \fB--db-uri\fR \fIURI\fP The explicit database URI to connect to\. .LP .RS .IP \(bu 2 \fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR .IP \(bu 2 \fBmysql\fP: \fBmysql://user:password@host/database\fR .IP \(bu 2 \fBpostgres\fP: \fBpostgres://user:password@host/database\fR .RE .LP .TP \fB-v\fR, \fB--verbose\fR Enable verbose output\. .LP .TP \fB--add\fR \fIVALUE\fP Adds the URL to the database\. .LP .TP \fB--import\fR \fIFILE\fP Imports the URLs from the given \fIFILE\fP\. .LP .TP \fB--delete\fR \fIVALUE\fP Deletes the URL from the database\. .LP .TP \fB--delete-all\fR Deletes every URL from the database\. .LP .TP \fB--http\fR Searches for \fBhttp://\fR URLs\. .LP .TP \fB--https\fR Searches for \fBhttps://\fR URLs\. .LP .TP \fB-H\fR, \fB--host\fR \fIHOST\fP Searches for URLs with the given \fIHOST\fP\. .LP .TP \fB-p\fR, \fB--with-port\fR \fIPORT\fP Searches for URLs associated with the \fIPORT\fP\. .LP .TP \fB-d\fR, \fB--directory\fR \fIDIRECTORY\fP Searches for URLs sharing the DIRECTORY\. .LP .HP \fB-q\fR, \fB--with-query-param\fR \fINAME\fP \[lB]\.\.\.\[rB] Searches for URLs containing the query\-param NAME\. .LP .HP \fB-Q\fR, \fB--with-query-value\fR \fIVALUE\fP \[lB]\.\.\.\[rB] Searches for URLs containing the query\-param VALUE\. .LP .TP \fB-h\fR, \fB--help\fR Print help information\. .LP .SH ENVIRONMENT .LP .TP \fIHOME\fP Alternate location for the user\[cq]s home directory\. .LP .TP \fIXDG\[ru]CONFIG\[ru]HOME\fP Alternate location for the \fB~/.config\fR directory\. .LP .TP \fIXDG\[ru]DATA\[ru]HOME\fP Alternate location for the \fB~/.local/share\fR directory\. .LP .SH FILES .LP .TP \fB~/.local/share/ronin-db/database.sqlite3\fR The default sqlite3 database file\. .LP .TP \fB~/.config/ronin-db/database.yml\fR Optional database configuration\. .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP