ronin-db 0.1.0-java → 0.1.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.document +0 -1
- data/.github/workflows/ruby.yml +15 -1
- data/.rubocop.yml +16 -0
- data/ChangeLog.md +19 -1
- data/Gemfile +7 -3
- data/README.md +0 -1
- data/Rakefile +2 -3
- data/bin/ronin-db +6 -7
- data/lib/ronin/db/cli/command.rb +3 -0
- data/lib/ronin/db/cli/commands/asn.rb +1 -1
- data/lib/ronin/db/cli/commands/creds.rb +18 -18
- data/lib/ronin/db/cli/commands/migrate.rb +1 -1
- data/lib/ronin/db/cli/commands/urls.rb +6 -6
- data/lib/ronin/db/cli/resources_command.rb +0 -2
- data/lib/ronin/db/cli/uri_methods.rb +8 -3
- data/lib/ronin/db/cli.rb +5 -0
- data/lib/ronin/db/config_file.rb +14 -8
- data/lib/ronin/db/exceptions.rb +9 -0
- data/lib/ronin/db/version.rb +1 -1
- data/lib/ronin/db.rb +15 -1
- data/man/ronin-db-add.1 +45 -14
- data/man/ronin-db-add.1.md +30 -10
- data/man/ronin-db-asn.1 +37 -5
- data/man/ronin-db-asn.1.md +25 -3
- data/man/ronin-db-creds.1 +36 -18
- data/man/ronin-db-creds.1.md +27 -16
- data/man/ronin-db-edit.1 +21 -14
- data/man/ronin-db-edit.1.md +15 -10
- data/man/ronin-db-emails.1 +38 -20
- data/man/ronin-db-emails.1.md +28 -17
- data/man/ronin-db-hosts.1 +34 -16
- data/man/ronin-db-hosts.1.md +25 -14
- data/man/ronin-db-ips.1 +37 -19
- data/man/ronin-db-ips.1.md +28 -17
- data/man/ronin-db-irb.1 +30 -14
- data/man/ronin-db-irb.1.md +19 -10
- data/man/ronin-db-list.1 +21 -14
- data/man/ronin-db-list.1.md +15 -10
- data/man/ronin-db-migrate.1 +36 -3
- data/man/ronin-db-migrate.1.md +24 -1
- data/man/ronin-db-remove.1 +21 -14
- data/man/ronin-db-remove.1.md +15 -10
- data/man/ronin-db-urls.1 +39 -21
- data/man/ronin-db-urls.1.md +28 -17
- data/ronin-db.gemspec +4 -3
- metadata +4 -3
data/man/ronin-db-hosts.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-hosts 1 "
|
1
|
+
# ronin-db-hosts 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -14,14 +14,17 @@ Manages host names.
|
|
14
14
|
The database to connect to. Defaults to `default` if not given.
|
15
15
|
|
16
16
|
`--db-uri` *URI*
|
17
|
-
The explicit database URI to connect to
|
18
|
-
|
17
|
+
The explicit database URI to connect to.
|
18
|
+
|
19
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
20
|
+
* **mysql**: `mysql://user:password@host/database`
|
21
|
+
* **postgres**: `postgres://user:password@host/database`
|
19
22
|
|
20
23
|
`-v`, `--verbose`
|
21
24
|
Enable verbose output.
|
22
25
|
|
23
|
-
`--add` *
|
24
|
-
Adds the
|
26
|
+
`--add` *VALUE*
|
27
|
+
Adds the hostname to the database.
|
25
28
|
|
26
29
|
`--import` *FILE*
|
27
30
|
Imports the credentials from the given *FILE*.
|
@@ -44,19 +47,27 @@ Manages host names.
|
|
44
47
|
`-T`, `--tld` *TLD*
|
45
48
|
Searches for HostNames with the Top-Level-Domain (TLD) (`ru`).
|
46
49
|
|
47
|
-
|
50
|
+
`-h`, `--help`
|
51
|
+
Print help information.
|
52
|
+
|
53
|
+
## ENVIRONMENT
|
48
54
|
|
49
|
-
|
50
|
-
|
55
|
+
*HOME*
|
56
|
+
Alternate location for the user's home directory.
|
51
57
|
|
52
|
-
|
53
|
-
|
58
|
+
*XDG_CONFIG_HOME*
|
59
|
+
Alternate location for the `~/.config` directory.
|
60
|
+
|
61
|
+
*XDG_DATA_HOME*
|
62
|
+
Alternate location for the `~/.local/share` directory.
|
63
|
+
|
64
|
+
## FILES
|
54
65
|
|
55
|
-
|
56
|
-
|
66
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
67
|
+
The default sqlite3 database file.
|
57
68
|
|
58
|
-
|
59
|
-
|
69
|
+
`~/.config/ronin-db/database.yml`
|
70
|
+
Optional database configuration.
|
60
71
|
|
61
72
|
## AUTHOR
|
62
73
|
|
data/man/ronin-db-ips.1
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1.
|
1
|
+
.\" Generated by kramdown-man 0.1.9
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-ips 1 "
|
3
|
+
.TH ronin-db-ips 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
7
|
-
.
|
7
|
+
.PP
|
8
8
|
\fBronin-db ips\fR \[lB]\fIoptions\fP\[rB]
|
9
9
|
.LP
|
10
10
|
.SH DESCRIPTION
|
@@ -20,28 +20,36 @@ The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
|
20
20
|
.LP
|
21
21
|
.TP
|
22
22
|
\fB--db-uri\fR \fIURI\fP
|
23
|
-
The explicit database URI to connect to
|
24
|
-
|
23
|
+
The explicit database URI to connect to\.
|
24
|
+
.LP
|
25
|
+
.RS
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
28
|
+
.IP \(bu 2
|
29
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
30
|
+
.IP \(bu 2
|
31
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
32
|
+
.RE
|
25
33
|
.LP
|
26
34
|
.TP
|
27
35
|
\fB-v\fR, \fB--verbose\fR
|
28
36
|
Enable verbose output\.
|
29
37
|
.LP
|
30
38
|
.TP
|
31
|
-
\fB--add\fR \
|
32
|
-
Adds the
|
39
|
+
\fB--add\fR \fIVALUE\fP
|
40
|
+
Adds the IP address to the database\.
|
33
41
|
.LP
|
34
42
|
.TP
|
35
43
|
\fB--import\fR \fIFILE\fP
|
36
|
-
Imports the
|
44
|
+
Imports the IP addresses from the given \fIFILE\fP\.
|
37
45
|
.LP
|
38
46
|
.TP
|
39
47
|
\fB--delete\fR \fIVALUE\fP
|
40
|
-
Deletes a
|
48
|
+
Deletes a IP address from the database\.
|
41
49
|
.LP
|
42
50
|
.TP
|
43
51
|
\fB--delete-all\fR
|
44
|
-
Deletes every
|
52
|
+
Deletes every IP address from the database\.
|
45
53
|
.LP
|
46
54
|
.TP
|
47
55
|
\fB-4\fR, \fB--v4\fR
|
@@ -63,23 +71,33 @@ Searches for IP addresses associated with the MAC address\.
|
|
63
71
|
\fB-I\fR, \fB--with-host\fR \fIHOST\fP
|
64
72
|
Searches for IP addresses associated with the \fIHOST\fP\.
|
65
73
|
.LP
|
66
|
-
.
|
74
|
+
.TP
|
75
|
+
\fB-h\fR, \fB--help\fR
|
76
|
+
Print help information\.
|
77
|
+
.LP
|
78
|
+
.SH ENVIRONMENT
|
67
79
|
.LP
|
68
80
|
.TP
|
69
|
-
\
|
70
|
-
|
81
|
+
\fIHOME\fP
|
82
|
+
Alternate location for the user\[cq]s home directory\.
|
71
83
|
.LP
|
72
84
|
.TP
|
73
|
-
\
|
74
|
-
|
85
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
86
|
+
Alternate location for the \fB~/.config\fR directory\.
|
87
|
+
.LP
|
88
|
+
.TP
|
89
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
90
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
91
|
+
.LP
|
92
|
+
.SH FILES
|
75
93
|
.LP
|
76
94
|
.TP
|
77
|
-
\
|
78
|
-
The default sqlite3
|
95
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
96
|
+
The default sqlite3 database file\.
|
79
97
|
.LP
|
80
98
|
.TP
|
81
|
-
\
|
82
|
-
Optional
|
99
|
+
\fB~/.config/ronin-db/database.yml\fR
|
100
|
+
Optional database configuration\.
|
83
101
|
.LP
|
84
102
|
.SH AUTHOR
|
85
103
|
.LP
|
data/man/ronin-db-ips.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-ips 1 "
|
1
|
+
# ronin-db-ips 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -14,23 +14,26 @@ Manages IP addresses.
|
|
14
14
|
The database to connect to. Defaults to `default` if not given.
|
15
15
|
|
16
16
|
`--db-uri` *URI*
|
17
|
-
The explicit database URI to connect to
|
18
|
-
|
17
|
+
The explicit database URI to connect to.
|
18
|
+
|
19
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
20
|
+
* **mysql**: `mysql://user:password@host/database`
|
21
|
+
* **postgres**: `postgres://user:password@host/database`
|
19
22
|
|
20
23
|
`-v`, `--verbose`
|
21
24
|
Enable verbose output.
|
22
25
|
|
23
|
-
`--add` *
|
24
|
-
Adds the
|
26
|
+
`--add` *VALUE*
|
27
|
+
Adds the IP address to the database.
|
25
28
|
|
26
29
|
`--import` *FILE*
|
27
|
-
Imports the
|
30
|
+
Imports the IP addresses from the given *FILE*.
|
28
31
|
|
29
32
|
`--delete` *VALUE*
|
30
|
-
Deletes a
|
33
|
+
Deletes a IP address from the database.
|
31
34
|
|
32
35
|
`--delete-all`
|
33
|
-
Deletes every
|
36
|
+
Deletes every IP address from the database.
|
34
37
|
|
35
38
|
`-4`, `--v4`
|
36
39
|
Searches for IPv4 addresses.
|
@@ -47,19 +50,27 @@ Manages IP addresses.
|
|
47
50
|
`-I`, `--with-host` *HOST*
|
48
51
|
Searches for IP addresses associated with the *HOST*.
|
49
52
|
|
50
|
-
|
53
|
+
`-h`, `--help`
|
54
|
+
Print help information.
|
55
|
+
|
56
|
+
## ENVIRONMENT
|
51
57
|
|
52
|
-
|
53
|
-
|
58
|
+
*HOME*
|
59
|
+
Alternate location for the user's home directory.
|
54
60
|
|
55
|
-
|
56
|
-
|
61
|
+
*XDG_CONFIG_HOME*
|
62
|
+
Alternate location for the `~/.config` directory.
|
63
|
+
|
64
|
+
*XDG_DATA_HOME*
|
65
|
+
Alternate location for the `~/.local/share` directory.
|
66
|
+
|
67
|
+
## FILES
|
57
68
|
|
58
|
-
|
59
|
-
|
69
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
70
|
+
The default sqlite3 database file.
|
60
71
|
|
61
|
-
|
62
|
-
|
72
|
+
`~/.config/ronin-db/database.yml`
|
73
|
+
Optional database configuration.
|
63
74
|
|
64
75
|
## AUTHOR
|
65
76
|
|
data/man/ronin-db-irb.1
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1.
|
1
|
+
.\" Generated by kramdown-man 0.1.9
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-irb 1 "
|
3
|
+
.TH ronin-db-irb 1 "2023-02-01" Ronin DB "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
7
|
-
.
|
7
|
+
.PP
|
8
8
|
\fBronin-db irb\fR \[lB]\fIoptions\fP\[rB]
|
9
9
|
.LP
|
10
10
|
.SH DESCRIPTION
|
@@ -23,6 +23,15 @@ specified\.
|
|
23
23
|
\fB--db-uri\fR \fIURI\fP
|
24
24
|
The database URI to connect to\.
|
25
25
|
.LP
|
26
|
+
.RS
|
27
|
+
.IP \(bu 2
|
28
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
29
|
+
.IP \(bu 2
|
30
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
31
|
+
.IP \(bu 2
|
32
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
33
|
+
.RE
|
34
|
+
.LP
|
26
35
|
.TP
|
27
36
|
\fB--no-connect\fR
|
28
37
|
Causes the Ruby shell to not connect to a database on startup\.
|
@@ -31,22 +40,29 @@ Causes the Ruby shell to not connect to a database on startup\.
|
|
31
40
|
\fB-h\fR, \fB--help\fR
|
32
41
|
Print help information\.
|
33
42
|
.LP
|
34
|
-
.SH
|
43
|
+
.SH ENVIRONMENT
|
35
44
|
.LP
|
36
45
|
.TP
|
37
|
-
\
|
38
|
-
|
46
|
+
\fIHOME\fP
|
47
|
+
Alternate location for the user\[cq]s home directory\.
|
39
48
|
.LP
|
40
|
-
.
|
49
|
+
.TP
|
50
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
51
|
+
Alternate location for the \fB~/.config\fR directory\.
|
41
52
|
.LP
|
42
|
-
.
|
43
|
-
HOME
|
44
|
-
|
45
|
-
\fI\[ti]\[sl]\.config\[sl]ronin\-db\fP cache directory within the home directory\.
|
53
|
+
.TP
|
54
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
55
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
46
56
|
.LP
|
47
|
-
.
|
48
|
-
|
49
|
-
|
57
|
+
.SH FILES
|
58
|
+
.LP
|
59
|
+
.TP
|
60
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
61
|
+
The default sqlite3 database file\.
|
62
|
+
.LP
|
63
|
+
.TP
|
64
|
+
\fB~/.config/ronin-db/database.yml\fR
|
65
|
+
Optional database configuration\.
|
50
66
|
.LP
|
51
67
|
.SH AUTHOR
|
52
68
|
.LP
|
data/man/ronin-db-irb.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-irb 1 "
|
1
|
+
# ronin-db-irb 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -17,25 +17,34 @@ Connects to a database and start an interactive Ruby shell.
|
|
17
17
|
`--db-uri` *URI*
|
18
18
|
The database URI to connect to.
|
19
19
|
|
20
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
21
|
+
* **mysql**: `mysql://user:password@host/database`
|
22
|
+
* **postgres**: `postgres://user:password@host/database`
|
23
|
+
|
20
24
|
`--no-connect`
|
21
25
|
Causes the Ruby shell to not connect to a database on startup.
|
22
26
|
|
23
27
|
`-h`, `--help`
|
24
28
|
Print help information.
|
25
29
|
|
26
|
-
##
|
30
|
+
## ENVIRONMENT
|
27
31
|
|
28
|
-
|
29
|
-
|
32
|
+
*HOME*
|
33
|
+
Alternate location for the user's home directory.
|
30
34
|
|
31
|
-
|
35
|
+
*XDG_CONFIG_HOME*
|
36
|
+
Alternate location for the `~/.config` directory.
|
37
|
+
|
38
|
+
*XDG_DATA_HOME*
|
39
|
+
Alternate location for the `~/.local/share` directory.
|
40
|
+
|
41
|
+
## FILES
|
32
42
|
|
33
|
-
|
34
|
-
|
35
|
-
*~/.config/ronin-db* cache directory within the home directory.
|
43
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
44
|
+
The default sqlite3 database file.
|
36
45
|
|
37
|
-
|
38
|
-
|
46
|
+
`~/.config/ronin-db/database.yml`
|
47
|
+
Optional database configuration.
|
39
48
|
|
40
49
|
## AUTHOR
|
41
50
|
|
data/man/ronin-db-list.1
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1.
|
1
|
+
.\" Generated by kramdown-man 0.1.9
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-list 1 "
|
3
|
+
.TH ronin-db-list 1 "2023-02-01" Ronin DB "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
7
|
-
.
|
7
|
+
.PP
|
8
8
|
\fBronin-db list\fR \[lB]\fIoptions\fP\[rB] \[lB]\fINAME\fP\[rB]
|
9
9
|
.LP
|
10
10
|
.SH DESCRIPTION
|
@@ -28,22 +28,29 @@ Enables verbose output\.
|
|
28
28
|
\fB-h\fR, \fB--help\fR
|
29
29
|
Print help information\.
|
30
30
|
.LP
|
31
|
-
.SH
|
31
|
+
.SH ENVIRONMENT
|
32
32
|
.LP
|
33
33
|
.TP
|
34
|
-
\
|
35
|
-
|
34
|
+
\fIHOME\fP
|
35
|
+
Alternate location for the user\[cq]s home directory\.
|
36
36
|
.LP
|
37
|
-
.
|
37
|
+
.TP
|
38
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
39
|
+
Alternate location for the \fB~/.config\fR directory\.
|
38
40
|
.LP
|
39
|
-
.
|
40
|
-
HOME
|
41
|
-
|
42
|
-
\fI\[ti]\[sl]\.config\[sl]ronin\-db\fP cache directory within the home directory\.
|
41
|
+
.TP
|
42
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
43
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
43
44
|
.LP
|
44
|
-
.
|
45
|
-
|
46
|
-
|
45
|
+
.SH FILES
|
46
|
+
.LP
|
47
|
+
.TP
|
48
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
49
|
+
The default sqlite3 database file\.
|
50
|
+
.LP
|
51
|
+
.TP
|
52
|
+
\fB~/.config/ronin-db/database.yml\fR
|
53
|
+
Optional database configuration\.
|
47
54
|
.LP
|
48
55
|
.SH AUTHOR
|
49
56
|
.LP
|
data/man/ronin-db-list.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-list 1 "
|
1
|
+
# ronin-db-list 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -21,19 +21,24 @@ Lists entries in the `~/.config/ronin-db/database.yml` configuration file.
|
|
21
21
|
`-h`, `--help`
|
22
22
|
Print help information.
|
23
23
|
|
24
|
-
##
|
24
|
+
## ENVIRONMENT
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
*HOME*
|
27
|
+
Alternate location for the user's home directory.
|
28
28
|
|
29
|
-
|
29
|
+
*XDG_CONFIG_HOME*
|
30
|
+
Alternate location for the `~/.config` directory.
|
31
|
+
|
32
|
+
*XDG_DATA_HOME*
|
33
|
+
Alternate location for the `~/.local/share` directory.
|
34
|
+
|
35
|
+
## FILES
|
30
36
|
|
31
|
-
|
32
|
-
|
33
|
-
*~/.config/ronin-db* cache directory within the home directory.
|
37
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
38
|
+
The default sqlite3 database file.
|
34
39
|
|
35
|
-
|
36
|
-
|
40
|
+
`~/.config/ronin-db/database.yml`
|
41
|
+
Optional database configuration.
|
37
42
|
|
38
43
|
## AUTHOR
|
39
44
|
|
data/man/ronin-db-migrate.1
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1.
|
1
|
+
.\" Generated by kramdown-man 0.1.9
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-migrate 1 "
|
3
|
+
.TH ronin-db-migrate 1 "2023-02-01" Ronin DB "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
7
|
-
.
|
7
|
+
.PP
|
8
8
|
\fBronin-db migrate\fR \[lB]\fIoptions\fP\[rB]
|
9
9
|
.LP
|
10
10
|
.SH DESCRIPTION
|
@@ -23,6 +23,15 @@ specified\.
|
|
23
23
|
\fB--db-uri\fR \fIURI\fP
|
24
24
|
The database URI to connect to\.
|
25
25
|
.LP
|
26
|
+
.RS
|
27
|
+
.IP \(bu 2
|
28
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
29
|
+
.IP \(bu 2
|
30
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
31
|
+
.IP \(bu 2
|
32
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
33
|
+
.RE
|
34
|
+
.LP
|
26
35
|
.TP
|
27
36
|
\fB--no-connect\fR
|
28
37
|
Causes the Ruby shell to not connect to a database on startup\.
|
@@ -31,6 +40,30 @@ Causes the Ruby shell to not connect to a database on startup\.
|
|
31
40
|
\fB-h\fR, \fB--help\fR
|
32
41
|
Print help information\.
|
33
42
|
.LP
|
43
|
+
.SH ENVIRONMENT
|
44
|
+
.LP
|
45
|
+
.TP
|
46
|
+
\fIHOME\fP
|
47
|
+
Alternate location for the user\[cq]s home directory\.
|
48
|
+
.LP
|
49
|
+
.TP
|
50
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
51
|
+
Alternate location for the \fB~/.config\fR directory\.
|
52
|
+
.LP
|
53
|
+
.TP
|
54
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
55
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
56
|
+
.LP
|
57
|
+
.SH FILES
|
58
|
+
.LP
|
59
|
+
.TP
|
60
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
61
|
+
The default sqlite3 database file\.
|
62
|
+
.LP
|
63
|
+
.TP
|
64
|
+
\fB~/.config/ronin-db/database.yml\fR
|
65
|
+
Optional database configuration\.
|
66
|
+
.LP
|
34
67
|
.SH AUTHOR
|
35
68
|
.LP
|
36
69
|
.PP
|
data/man/ronin-db-migrate.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-migrate 1 "
|
1
|
+
# ronin-db-migrate 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -17,12 +17,35 @@ Runs database migrations.
|
|
17
17
|
`--db-uri` *URI*
|
18
18
|
The database URI to connect to.
|
19
19
|
|
20
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
21
|
+
* **mysql**: `mysql://user:password@host/database`
|
22
|
+
* **postgres**: `postgres://user:password@host/database`
|
23
|
+
|
20
24
|
`--no-connect`
|
21
25
|
Causes the Ruby shell to not connect to a database on startup.
|
22
26
|
|
23
27
|
`-h`, `--help`
|
24
28
|
Print help information.
|
25
29
|
|
30
|
+
## ENVIRONMENT
|
31
|
+
|
32
|
+
*HOME*
|
33
|
+
Alternate location for the user's home directory.
|
34
|
+
|
35
|
+
*XDG_CONFIG_HOME*
|
36
|
+
Alternate location for the `~/.config` directory.
|
37
|
+
|
38
|
+
*XDG_DATA_HOME*
|
39
|
+
Alternate location for the `~/.local/share` directory.
|
40
|
+
|
41
|
+
## FILES
|
42
|
+
|
43
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
44
|
+
The default sqlite3 database file.
|
45
|
+
|
46
|
+
`~/.config/ronin-db/database.yml`
|
47
|
+
Optional database configuration.
|
48
|
+
|
26
49
|
## AUTHOR
|
27
50
|
|
28
51
|
Postmodern <postmodern.mod3@gmail.com>
|
data/man/ronin-db-remove.1
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1.
|
1
|
+
.\" Generated by kramdown-man 0.1.9
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-remove 1 "
|
3
|
+
.TH ronin-db-remove 1 "2023-02-01" Ronin DB "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
7
|
-
.
|
7
|
+
.PP
|
8
8
|
\fBronin-db remove\fR \[lB]\fIoptions\fP\[rB] \fINAME\fP
|
9
9
|
.LP
|
10
10
|
.SH DESCRIPTION
|
@@ -25,22 +25,29 @@ The database entry to remove\.
|
|
25
25
|
\fB-h\fR, \fB--help\fR
|
26
26
|
Print help information\.
|
27
27
|
.LP
|
28
|
-
.SH
|
28
|
+
.SH ENVIRONMENT
|
29
29
|
.LP
|
30
30
|
.TP
|
31
|
-
\
|
32
|
-
|
31
|
+
\fIHOME\fP
|
32
|
+
Alternate location for the user\[cq]s home directory\.
|
33
33
|
.LP
|
34
|
-
.
|
34
|
+
.TP
|
35
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
36
|
+
Alternate location for the \fB~/.config\fR directory\.
|
35
37
|
.LP
|
36
|
-
.
|
37
|
-
HOME
|
38
|
-
|
39
|
-
\fI\[ti]\[sl]\.config\[sl]ronin\-db\fP cache directory within the home directory\.
|
38
|
+
.TP
|
39
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
40
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
40
41
|
.LP
|
41
|
-
.
|
42
|
-
|
43
|
-
|
42
|
+
.SH FILES
|
43
|
+
.LP
|
44
|
+
.TP
|
45
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
46
|
+
The default sqlite3 database file\.
|
47
|
+
.LP
|
48
|
+
.TP
|
49
|
+
\fB~/.config/ronin-db/database.yml\fR
|
50
|
+
Optional database configuration\.
|
44
51
|
.LP
|
45
52
|
.SH AUTHOR
|
46
53
|
.LP
|
data/man/ronin-db-remove.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-remove 1 "
|
1
|
+
# ronin-db-remove 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -19,19 +19,24 @@ configuration file.
|
|
19
19
|
`-h`, `--help`
|
20
20
|
Print help information.
|
21
21
|
|
22
|
-
##
|
22
|
+
## ENVIRONMENT
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
*HOME*
|
25
|
+
Alternate location for the user's home directory.
|
26
26
|
|
27
|
-
|
27
|
+
*XDG_CONFIG_HOME*
|
28
|
+
Alternate location for the `~/.config` directory.
|
29
|
+
|
30
|
+
*XDG_DATA_HOME*
|
31
|
+
Alternate location for the `~/.local/share` directory.
|
32
|
+
|
33
|
+
## FILES
|
28
34
|
|
29
|
-
|
30
|
-
|
31
|
-
*~/.config/ronin-db* cache directory within the home directory.
|
35
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
36
|
+
The default sqlite3 database file.
|
32
37
|
|
33
|
-
|
34
|
-
|
38
|
+
`~/.config/ronin-db/database.yml`
|
39
|
+
Optional database configuration.
|
35
40
|
|
36
41
|
## AUTHOR
|
37
42
|
|