ronin 2.0.5 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +3 -3
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +5 -1
  5. data/.ruby-version +1 -1
  6. data/ChangeLog.md +62 -1
  7. data/Gemfile +66 -29
  8. data/README.md +165 -20
  9. data/Rakefile +9 -0
  10. data/data/completions/ronin +655 -0
  11. data/data/templates/dns_proxy.rb.erb +35 -0
  12. data/gemspec.yml +29 -15
  13. data/lib/ronin/cli/binary_template.rb +124 -0
  14. data/lib/ronin/cli/commands/archive.rb +104 -0
  15. data/lib/ronin/cli/commands/banner_grab.rb +2 -0
  16. data/lib/ronin/cli/commands/bitflip.rb +1 -1
  17. data/lib/ronin/cli/commands/bitsquat.rb +119 -0
  18. data/lib/ronin/cli/commands/cert_dump.rb +20 -4
  19. data/lib/ronin/cli/commands/cert_gen.rb +9 -19
  20. data/lib/ronin/cli/commands/cert_grab.rb +4 -3
  21. data/lib/ronin/cli/commands/completion.rb +115 -0
  22. data/lib/ronin/cli/commands/dns_proxy.rb +239 -0
  23. data/lib/ronin/cli/commands/http.rb +80 -8
  24. data/lib/ronin/cli/commands/ip.rb +101 -0
  25. data/lib/ronin/cli/commands/iprange.rb +25 -8
  26. data/lib/ronin/cli/commands/netcat.rb +2 -0
  27. data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
  28. data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
  29. data/lib/ronin/cli/commands/new/exploit.rb +34 -0
  30. data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
  31. data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
  32. data/lib/ronin/cli/commands/new/payload.rb +34 -0
  33. data/lib/ronin/cli/commands/new/project.rb +1 -1
  34. data/lib/ronin/cli/commands/new/script.rb +1 -1
  35. data/lib/ronin/cli/commands/new/web_app.rb +37 -0
  36. data/lib/ronin/cli/commands/new/web_server.rb +37 -0
  37. data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
  38. data/lib/ronin/cli/commands/new.rb +3 -1
  39. data/lib/ronin/cli/commands/pack.rb +339 -0
  40. data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
  41. data/lib/ronin/cli/commands/tld_list.rb +2 -0
  42. data/lib/ronin/cli/commands/unarchive.rb +128 -0
  43. data/lib/ronin/cli/commands/unhexdump.rb +3 -1
  44. data/lib/ronin/cli/commands/unpack.rb +195 -0
  45. data/lib/ronin/cli/commands/url.rb +2 -0
  46. data/lib/ronin/cli/http_shell.rb +25 -0
  47. data/lib/ronin/cli.rb +10 -0
  48. data/lib/ronin/version.rb +1 -1
  49. data/man/ronin-archive.1.md +49 -0
  50. data/man/ronin-asn.1 +60 -77
  51. data/man/ronin-asn.1.md +25 -21
  52. data/man/ronin-banner-grab.1 +10 -21
  53. data/man/ronin-banner-grab.1.md +9 -5
  54. data/man/ronin-bitflip.1 +35 -61
  55. data/man/ronin-bitflip.1.md +30 -26
  56. data/man/ronin-bitsquat.1 +40 -0
  57. data/man/ronin-bitsquat.1.md +43 -0
  58. data/man/ronin-cert-dump.1 +44 -54
  59. data/man/ronin-cert-dump.1.md +18 -14
  60. data/man/ronin-cert-gen.1 +73 -94
  61. data/man/ronin-cert-gen.1.md +38 -34
  62. data/man/ronin-cert-grab.1 +29 -37
  63. data/man/ronin-cert-grab.1.md +12 -8
  64. data/man/ronin-completion.1 +78 -0
  65. data/man/ronin-completion.1.md +80 -0
  66. data/man/ronin-decode.1 +32 -63
  67. data/man/ronin-decode.1.md +29 -25
  68. data/man/ronin-decrypt.1 +42 -57
  69. data/man/ronin-decrypt.1.md +20 -16
  70. data/man/ronin-dns-proxy.1 +100 -0
  71. data/man/ronin-dns-proxy.1.md +70 -0
  72. data/man/ronin-dns.1 +10 -21
  73. data/man/ronin-dns.1.md +9 -5
  74. data/man/ronin-email-addr.1 +27 -40
  75. data/man/ronin-email-addr.1.md +15 -11
  76. data/man/ronin-encode.1 +93 -63
  77. data/man/ronin-encode.1.md +64 -26
  78. data/man/ronin-encrypt.1 +42 -57
  79. data/man/ronin-encrypt.1.md +20 -16
  80. data/man/ronin-entropy.1 +11 -21
  81. data/man/ronin-entropy.1.md +8 -4
  82. data/man/ronin-escape.1 +22 -46
  83. data/man/ronin-escape.1.md +22 -18
  84. data/man/ronin-extract.1 +74 -149
  85. data/man/ronin-extract.1.md +73 -69
  86. data/man/ronin-grep.1 +77 -155
  87. data/man/ronin-grep.1.md +76 -72
  88. data/man/ronin-help.1 +3 -14
  89. data/man/ronin-help.1.md +2 -2
  90. data/man/ronin-hexdump.1 +249 -265
  91. data/man/ronin-hexdump.1.md +93 -89
  92. data/man/ronin-highlight.1 +8 -18
  93. data/man/ronin-highlight.1.md +8 -4
  94. data/man/ronin-hmac.1 +17 -30
  95. data/man/ronin-hmac.1.md +14 -10
  96. data/man/ronin-homoglyph.1 +11 -22
  97. data/man/ronin-homoglyph.1.md +10 -6
  98. data/man/ronin-host.1 +23 -47
  99. data/man/ronin-host.1.md +22 -18
  100. data/man/ronin-http.1 +40 -69
  101. data/man/ronin-http.1.md +40 -30
  102. data/man/ronin-ip.1 +70 -80
  103. data/man/ronin-ip.1.md +44 -28
  104. data/man/ronin-iprange.1 +14 -22
  105. data/man/ronin-iprange.1.md +12 -5
  106. data/man/ronin-irb.1 +9 -17
  107. data/man/ronin-irb.1.md +7 -3
  108. data/man/ronin-md5.1 +13 -24
  109. data/man/ronin-md5.1.md +11 -7
  110. data/man/ronin-netcat.1 +25 -51
  111. data/man/ronin-netcat.1.md +25 -21
  112. data/man/ronin-new-dns-proxy.1 +45 -0
  113. data/man/ronin-new-dns-proxy.1.md +44 -0
  114. data/man/ronin-new-project.1 +32 -45
  115. data/man/ronin-new-project.1.md +11 -11
  116. data/man/ronin-new-script.1 +10 -22
  117. data/man/ronin-new-script.1.md +4 -4
  118. data/man/ronin-new.1 +56 -31
  119. data/man/ronin-new.1.md +48 -8
  120. data/man/ronin-pack.1 +979 -0
  121. data/man/ronin-pack.1.md +929 -0
  122. data/man/ronin-proxy.1 +37 -63
  123. data/man/ronin-proxy.1.md +29 -25
  124. data/man/ronin-public-suffix-list.1 +16 -32
  125. data/man/ronin-public-suffix-list.1.md +13 -9
  126. data/man/ronin-quote.1 +17 -36
  127. data/man/ronin-quote.1.md +17 -13
  128. data/man/ronin-rot.1 +26 -39
  129. data/man/ronin-rot.1.md +15 -11
  130. data/man/ronin-sha1.1 +13 -24
  131. data/man/ronin-sha1.1.md +11 -7
  132. data/man/ronin-sha256.1 +13 -24
  133. data/man/ronin-sha256.1.md +11 -7
  134. data/man/ronin-sha512.1 +13 -24
  135. data/man/ronin-sha512.1.md +11 -7
  136. data/man/ronin-strings.1 +30 -55
  137. data/man/ronin-strings.1.md +27 -23
  138. data/man/ronin-tips.1 +8 -16
  139. data/man/ronin-tips.1.md +7 -3
  140. data/man/ronin-tld-list.1 +16 -32
  141. data/man/ronin-tld-list.1.md +13 -9
  142. data/man/ronin-typo.1 +14 -28
  143. data/man/ronin-typo.1.md +13 -9
  144. data/man/ronin-typosquat.1 +15 -32
  145. data/man/ronin-typosquat.1.md +15 -11
  146. data/man/ronin-unarchive.1.md +41 -0
  147. data/man/ronin-unescape.1 +22 -46
  148. data/man/ronin-unescape.1.md +22 -18
  149. data/man/ronin-unhexdump.1 +81 -91
  150. data/man/ronin-unhexdump.1.md +16 -12
  151. data/man/ronin-unpack.1 +980 -0
  152. data/man/ronin-unpack.1.md +920 -0
  153. data/man/ronin-unquote.1 +17 -36
  154. data/man/ronin-unquote.1.md +17 -13
  155. data/man/ronin-url.1 +19 -40
  156. data/man/ronin-url.1.md +19 -15
  157. data/man/ronin-xor.1 +14 -28
  158. data/man/ronin-xor.1.md +13 -9
  159. data/man/ronin.1 +208 -29
  160. data/man/ronin.1.md +156 -11
  161. data/scripts/setup +58 -0
  162. metadata +157 -67
  163. data/lib/ronin/config.rb +0 -95
  164. /data/data/{new → templates}/project/.gitignore +0 -0
  165. /data/data/{new → templates}/project/.ruby-version.erb +0 -0
  166. /data/data/{new → templates}/project/Dockerfile.erb +0 -0
  167. /data/data/{new → templates}/project/Gemfile.erb +0 -0
  168. /data/data/{new → templates}/project/Rakefile +0 -0
  169. /data/data/{new → templates}/project/project.rb.erb +0 -0
  170. /data/data/{new → templates}/script.rb.erb +0 -0
data/man/ronin-netcat.1 CHANGED
@@ -1,110 +1,84 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-netcat 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
4
+ .SH NAME
5
+ .PP
6
+ ronin\-netcat \- A netcat clone command
5
7
  .SH SYNOPSIS
6
- .LP
7
- .HP
8
- \fBronin netcat\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB--tcp\fR \[or] \fB--udp\fR \[or] \fB--ssl\fR \[or] \fB--tls\fR\[rB] \[lC]\fIHOST\fP \fIPORT\fP \[or] \fB-l\fR \[lB]\fIHOST\fP\[rB] \fIPORT\fP \[or] \fB--unix\fR \fIPATH\fP\[rC]
9
- .LP
8
+ .PP
9
+ \fBronin netcat\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB\-\-tcp\fR \[or] \fB\-\-udp\fR \[or] \fB\-\-ssl\fR \[or] \fB\-\-tls\fR\[rB] \[lC]\fIHOST\fP \fIPORT\fP \[or] \fB\-l\fR \[lB]\fIHOST\fP\[rB] \fIPORT\fP \[or] \fB\-\-unix\fR \fIPATH\fP\[rC]
10
10
  .SH DESCRIPTION
11
- .LP
12
11
  .PP
13
12
  Connects to or listens on a TCP\[sl]UDP\[sl]SSL\[sl]TLS\[sl]UNIX socket\.
14
- .LP
15
13
  .SH ARGUMENTS
16
- .LP
17
14
  .TP
18
15
  \fIHOST\fP
19
16
  The remote hostname or IP address to connect to or the local hostname or IP
20
17
  address to listen on\.
21
- .LP
22
18
  .TP
23
19
  \fIPORT\fP
24
20
  The remote port to connect to or the local port to listen on\.
25
- .LP
26
21
  .TP
27
22
  \fIPATH\fP
28
23
  The path to the UNIX socket to connect to or listen on\.
29
- .LP
30
24
  .SH OPTIONS
31
- .LP
32
25
  .TP
33
- \fB-v\fR, \fB--verbose\fR
26
+ \fB\-v\fR, \fB\-\-verbose\fR
34
27
  Enables verbose output\.
35
- .LP
36
28
  .TP
37
- \fB--tcp\fR
29
+ \fB\-\-tcp\fR
38
30
  Uses the TCP protocol\.
39
- .LP
40
31
  .TP
41
- \fB--udp\fR
32
+ \fB\-\-udp\fR
42
33
  Uses the UDP protocol\.
43
- .LP
44
34
  .TP
45
- \fB-U\fR, \fB--unix\fR \fIPATH\fP
35
+ \fB\-U\fR, \fB\-\-unix\fR \fIPATH\fP
46
36
  Uses the UNIX socket protocol and connects to or listens on the given \fIPATH\fP\.
47
- .LP
48
37
  .TP
49
- \fB-l\fR, \fB--listen\fR
38
+ \fB\-l\fR, \fB\-\-listen\fR
50
39
  Listens for incoming connections\.
51
- .LP
52
40
  .TP
53
- \fB-s\fR, \fB--source\fR \fIHOST\fP
41
+ \fB\-s\fR, \fB\-\-source\fR \fIHOST\fP
54
42
  Source address to bind to\.
55
- .LP
56
43
  .TP
57
- \fB-p\fR, \fB--source-port\fR \fIPORT\fP
44
+ \fB\-p\fR, \fB\-\-source\-port\fR \fIPORT\fP
58
45
  Source port to bind to\.
59
- .LP
60
46
  .TP
61
- \fB-b\fR, \fB--buffer-size\fR \fIINT\fP
47
+ \fB\-b\fR, \fB\-\-buffer\-size\fR \fIINT\fP
62
48
  Buffer size to use\. Defaults to 4096 if not given\.
63
- .LP
64
49
  .TP
65
- \fB-x\fR, \fB--hexdump\fR
50
+ \fB\-x\fR, \fB\-\-hexdump\fR
66
51
  Hexdumps each message that is received\.
67
- .LP
68
52
  .TP
69
- \fB--ssl\fR
53
+ \fB\-\-ssl\fR
70
54
  Enables SSL mode\.
71
- .LP
72
55
  .TP
73
- \fB--tls\fR
56
+ \fB\-\-tls\fR
74
57
  Enables TLS mode\.
75
- .LP
76
58
  .TP
77
- \fB--ssl-version\fR \fB1\fR\[or]\fB1.1\fR\[or]\fB1.2\fR
59
+ \fB\-\-ssl\-version\fR \fB1\fR\[or]\fB1\.1\fR\[or]\fB1\.2\fR
78
60
  Specifies the required SSL version\.
79
- .LP
80
61
  .TP
81
- \fB--ssl-cert\fR \fIFILE\fP
62
+ \fB\-\-ssl\-cert\fR \fIFILE\fP
82
63
  Specifies the SSL certificate file\.
83
- .LP
84
64
  .TP
85
- \fB--ssl-key\fR \fIFILE\fP
65
+ \fB\-\-ssl\-key\fR \fIFILE\fP
86
66
  Specifies the SSL key file\.
87
- .LP
88
67
  .TP
89
- \fB--ssl-verify\fR \fBnone\fR\[or]\fBpeer\fR\[or]\fBfail-if-no-peer-cert\fR\[or]\fBclient-once\fR\[or]\fBtrue\fR\[or]\fBfalse\fR
68
+ \fB\-\-ssl\-verify\fR \fBnone\fR\[or]\fBpeer\fR\[or]\fBfail\-if\-no\-peer\-cert\fR\[or]\fBclient\-once\fR\[or]\fBtrue\fR\[or]\fBfalse\fR
90
69
  SSL verification mode\.
91
- .LP
92
70
  .TP
93
- \fB--ssl-ca-bundle\fR \fIPATH\fP
71
+ \fB\-\-ssl\-ca\-bundle\fR \fIPATH\fP
94
72
  Path to the file or directory of CA certificates\.
95
- .LP
96
73
  .TP
97
- \fB-h\fR, \fB--help\fR
74
+ \fB\-h\fR, \fB\-\-help\fR
98
75
  Print help information\.
99
- .LP
100
76
  .SH AUTHOR
101
- .LP
102
77
  .PP
103
78
  Postmodern
104
79
  .MT postmodern\.mod3\[at]gmail\.com
105
80
  .ME
106
- .LP
107
81
  .SH SEE ALSO
108
- .LP
109
82
  .PP
110
- ronin\-hexdump(1) ronin\-http(1)
83
+ .BR ronin\-hexdump (1)
84
+ .BR ronin\-http (1)
@@ -1,5 +1,9 @@
1
1
  # ronin-netcat 1 "2023-02-01" Ronin "User Manuals"
2
2
 
3
+ ## NAME
4
+
5
+ ronin-netcat - A netcat clone command
6
+
3
7
  ## SYNOPSIS
4
8
 
5
9
  `ronin netcat` [*options*] [`--tcp` \| `--udp` \| `--ssl` \| `--tls`] {*HOST* *PORT* \| `-l` [*HOST*] *PORT* \| `--unix` *PATH*}
@@ -11,67 +15,67 @@ Connects to or listens on a TCP/UDP/SSL/TLS/UNIX socket.
11
15
  ## ARGUMENTS
12
16
 
13
17
  *HOST*
14
- The remote hostname or IP address to connect to or the local hostname or IP
18
+ : The remote hostname or IP address to connect to or the local hostname or IP
15
19
  address to listen on.
16
20
 
17
21
  *PORT*
18
- The remote port to connect to or the local port to listen on.
22
+ : The remote port to connect to or the local port to listen on.
19
23
 
20
24
  *PATH*
21
- The path to the UNIX socket to connect to or listen on.
25
+ : The path to the UNIX socket to connect to or listen on.
22
26
 
23
27
  ## OPTIONS
24
28
 
25
29
  `-v`, `--verbose`
26
- Enables verbose output.
30
+ : Enables verbose output.
27
31
 
28
32
  `--tcp`
29
- Uses the TCP protocol.
33
+ : Uses the TCP protocol.
30
34
 
31
35
  `--udp`
32
- Uses the UDP protocol.
36
+ : Uses the UDP protocol.
33
37
 
34
38
  `-U`, `--unix` *PATH*
35
- Uses the UNIX socket protocol and connects to or listens on the given *PATH*.
39
+ : Uses the UNIX socket protocol and connects to or listens on the given *PATH*.
36
40
 
37
41
  `-l`, `--listen`
38
- Listens for incoming connections.
42
+ : Listens for incoming connections.
39
43
 
40
44
  `-s`, `--source` *HOST*
41
- Source address to bind to.
45
+ : Source address to bind to.
42
46
 
43
47
  `-p`, `--source-port` *PORT*
44
- Source port to bind to.
48
+ : Source port to bind to.
45
49
 
46
50
  `-b`, `--buffer-size` *INT*
47
- Buffer size to use. Defaults to 4096 if not given.
51
+ : Buffer size to use. Defaults to 4096 if not given.
48
52
 
49
53
  `-x`, `--hexdump`
50
- Hexdumps each message that is received.
54
+ : Hexdumps each message that is received.
51
55
 
52
56
  `--ssl`
53
- Enables SSL mode.
57
+ : Enables SSL mode.
54
58
 
55
59
  `--tls`
56
- Enables TLS mode.
60
+ : Enables TLS mode.
57
61
 
58
62
  `--ssl-version` `1`\|`1.1`\|`1.2`
59
- Specifies the required SSL version.
63
+ : Specifies the required SSL version.
60
64
 
61
65
  `--ssl-cert` *FILE*
62
- Specifies the SSL certificate file.
66
+ : Specifies the SSL certificate file.
63
67
 
64
68
  `--ssl-key` *FILE*
65
- Specifies the SSL key file.
69
+ : Specifies the SSL key file.
66
70
 
67
71
  `--ssl-verify` `none`\|`peer`\|`fail-if-no-peer-cert`\|`client-once`\|`true`\|`false`
68
- SSL verification mode.
72
+ : SSL verification mode.
69
73
 
70
74
  `--ssl-ca-bundle` *PATH*
71
- Path to the file or directory of CA certificates.
75
+ : Path to the file or directory of CA certificates.
72
76
 
73
77
  `-h`, `--help`
74
- Print help information.
78
+ : Print help information.
75
79
 
76
80
  ## AUTHOR
77
81
 
@@ -79,4 +83,4 @@ Postmodern <postmodern.mod3@gmail.com>
79
83
 
80
84
  ## SEE ALSO
81
85
 
82
- ronin-hexdump(1) ronin-http(1)
86
+ [ronin-hexdump](ronin-hexdump.1.md) [ronin-http](ronin-http.1.md)
@@ -0,0 +1,45 @@
1
+ .\" Generated by kramdown-man 1.0.1
2
+ .\" https://github.com/postmodern/kramdown-man#readme
3
+ .TH ronin-new-dns-proxy.1 "2023-02-01" Ronin "User Manuals"
4
+ .SH SYNOPSIS
5
+ .PP
6
+ \fBronin new dns\-proxy\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
7
+ .SH DESCRIPTION
8
+ .PP
9
+ Creates a new \fBronin\-dns\-proxy\fR script\.
10
+ .PP
11
+ See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-dns\-proxy\[sh]readme
12
+ .SH ARGUMENTS
13
+ .TP
14
+ \fIPATH\fP
15
+ The path to the new script file\.
16
+ .SH OPTIONS
17
+ .TP
18
+ \fB\-H\fR, \fB\-\-host\fR \fIIP\fP
19
+ The IP to listen on\. Defaults to \fB127\.0\.0\.1\fR if not specified\.
20
+ .TP
21
+ \fB\-p\fR, \fB\-\-port\fR \fIPORT\fP
22
+ The port number to listen on\. Defaults to \fB2345\fR if not specified\.
23
+ .TP
24
+ \fB\-h\fR, \fB\-\-help\fR
25
+ Print help information
26
+ .SH EXAMPLES
27
+ .PP
28
+ Generate a new \fBronin\-dns\-proxy\fR script:
29
+ .PP
30
+ .RS 4
31
+ .EX
32
+ \[Do] ronin new dns\-proxy proxy\.rb
33
+ .EE
34
+ .RE
35
+ .PP
36
+ See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-dns\-proxy\[sh]examples for more
37
+ \fBronin\-dns\-proxy\fR examples\.
38
+ .SH AUTHOR
39
+ .PP
40
+ Postmodern
41
+ .MT postmodern\.mod3\[at]gmail\.com
42
+ .ME
43
+ .SH SEE ALSO
44
+ .PP
45
+ .BR ronin\-new\-script (1)
@@ -0,0 +1,44 @@
1
+ # ronin-new-dns-proxy.1 "2023-02-01" Ronin "User Manuals"
2
+
3
+ ## SYNOPSIS
4
+
5
+ `ronin new dns-proxy` [*options*] *PATH*
6
+
7
+ ## DESCRIPTION
8
+
9
+ Creates a new `ronin-dns-proxy` script.
10
+
11
+ See https://github.com/ronin-rb/ronin-dns-proxy#readme
12
+
13
+ ## ARGUMENTS
14
+
15
+ *PATH*
16
+ : The path to the new script file.
17
+
18
+ ## OPTIONS
19
+
20
+ `-H`, `--host` *IP*
21
+ : The IP to listen on. Defaults to `127.0.0.1` if not specified.
22
+
23
+ `-p`, `--port` *PORT*
24
+ : The port number to listen on. Defaults to `2345` if not specified.
25
+
26
+ `-h`, `--help`
27
+ : Print help information
28
+
29
+ ## EXAMPLES
30
+
31
+ Generate a new `ronin-dns-proxy` script:
32
+
33
+ $ ronin new dns-proxy proxy.rb
34
+
35
+ See https://github.com/ronin-rb/ronin-dns-proxy#examples for more
36
+ `ronin-dns-proxy` examples.
37
+
38
+ ## AUTHOR
39
+
40
+ Postmodern <postmodern.mod3@gmail.com>
41
+
42
+ ## SEE ALSO
43
+
44
+ [ronin-new-script](ronin-new-script.1.md)
@@ -1,84 +1,71 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-new-project 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
5
4
  .SH SYNOPSIS
6
- .LP
7
- .HP
5
+ .PP
8
6
  \fBronin new project\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
9
- .LP
10
7
  .SH DESCRIPTION
11
- .LP
12
8
  .PP
13
9
  Creates a new Ruby project directory\.
14
- .LP
15
10
  .SH ARGUMENTS
16
- .LP
17
11
  .TP
18
12
  \fIPATH\fP
19
13
  The path to the new project directory\.
20
- .LP
21
14
  .SH OPTIONS
22
- .LP
23
15
  .TP
24
- \fB--git\fR
16
+ \fB\-\-git\fR
25
17
  Initializes a git repo\.
26
- .LP
27
18
  .TP
28
- \fB--ruby-version\fR \fIVERSION\fP
19
+ \fB\-\-ruby\-version\fR \fIVERSION\fP
29
20
  The desired ruby version for the project\. Defaults to the current \fBruby\fR
30
21
  version if not specified\.
31
- .LP
32
22
  .TP
33
- \fB--rakefile\fR
23
+ \fB\-\-rakefile\fR
34
24
  Creates a \fBRakefile\fR\.
35
- .LP
36
25
  .TP
37
- \fB--dockerfile\fR
26
+ \fB\-\-dockerfile\fR
38
27
  Adds a \fBDockerfile\fR to the new project\.
39
- .LP
40
28
  .TP
41
- \fB-h\fR, \fB--help\fR
29
+ \fB\-h\fR, \fB\-\-help\fR
42
30
  Print help information
43
- .LP
44
31
  .SH EXAMPLES
45
- .LP
46
32
  .PP
47
33
  Generate a new Ruby project:
48
- .LP
49
- .nf
50
- ronin new project path\[sl]to\[sl]dir
51
- .fi
52
- .LP
34
+ .PP
35
+ .RS 4
36
+ .EX
37
+ \[Do] ronin new project path\[sl]to\[sl]dir
38
+ .EE
39
+ .RE
53
40
  .PP
54
41
  Set the desired ruby version for the project:
55
- .LP
56
- .nf
57
- ronin new project \-\-ruby\-version 3\.2\.0 path\[sl]to\[sl]dir
58
- .fi
59
- .LP
42
+ .PP
43
+ .RS 4
44
+ .EX
45
+ \[Do] ronin new project \-\-ruby\-version 3\.2\.0 path\[sl]to\[sl]dir
46
+ .EE
47
+ .RE
60
48
  .PP
61
49
  Add a \fBRakefile\fR to the project for defining automated tasks:
62
- .LP
63
- .nf
64
- ronin new project \-\-rakefile path\[sl]to\[sl]dir
65
- .fi
66
- .LP
50
+ .PP
51
+ .RS 4
52
+ .EX
53
+ \[Do] ronin new project \-\-rakefile path\[sl]to\[sl]dir
54
+ .EE
55
+ .RE
67
56
  .PP
68
57
  Add a \fBDockerfile\fR to the project:
69
- .LP
70
- .nf
71
- ronin new project \-\-dockerfile path\[sl]to\[sl]dir
72
- .fi
73
- .LP
58
+ .PP
59
+ .RS 4
60
+ .EX
61
+ \[Do] ronin new project \-\-dockerfile path\[sl]to\[sl]dir
62
+ .EE
63
+ .RE
74
64
  .SH AUTHOR
75
- .LP
76
65
  .PP
77
66
  Postmodern
78
67
  .MT postmodern\.mod3\[at]gmail\.com
79
68
  .ME
80
- .LP
81
69
  .SH SEE ALSO
82
- .LP
83
70
  .PP
84
- ronin\-new\-script(1)
71
+ .BR ronin\-new\-script (1)
@@ -11,43 +11,43 @@ Creates a new Ruby project directory.
11
11
  ## ARGUMENTS
12
12
 
13
13
  *PATH*
14
- The path to the new project directory.
14
+ : The path to the new project directory.
15
15
 
16
16
  ## OPTIONS
17
17
 
18
18
  `--git`
19
- Initializes a git repo.
19
+ : Initializes a git repo.
20
20
 
21
21
  `--ruby-version` *VERSION*
22
- The desired ruby version for the project. Defaults to the current `ruby`
22
+ : The desired ruby version for the project. Defaults to the current `ruby`
23
23
  version if not specified.
24
24
 
25
25
  `--rakefile`
26
- Creates a `Rakefile`.
26
+ : Creates a `Rakefile`.
27
27
 
28
28
  `--dockerfile`
29
- Adds a `Dockerfile` to the new project.
29
+ : Adds a `Dockerfile` to the new project.
30
30
 
31
31
  `-h`, `--help`
32
- Print help information
32
+ : Print help information
33
33
 
34
34
  ## EXAMPLES
35
35
 
36
36
  Generate a new Ruby project:
37
37
 
38
- ronin new project path/to/dir
38
+ $ ronin new project path/to/dir
39
39
 
40
40
  Set the desired ruby version for the project:
41
41
 
42
- ronin new project --ruby-version 3.2.0 path/to/dir
42
+ $ ronin new project --ruby-version 3.2.0 path/to/dir
43
43
 
44
44
  Add a `Rakefile` to the project for defining automated tasks:
45
45
 
46
- ronin new project --rakefile path/to/dir
46
+ $ ronin new project --rakefile path/to/dir
47
47
 
48
48
  Add a `Dockerfile` to the project:
49
49
 
50
- ronin new project --dockerfile path/to/dir
50
+ $ ronin new project --dockerfile path/to/dir
51
51
 
52
52
  ## AUTHOR
53
53
 
@@ -55,4 +55,4 @@ Postmodern <postmodern.mod3@gmail.com>
55
55
 
56
56
  ## SEE ALSO
57
57
 
58
- ronin-new-script(1)
58
+ [ronin-new-script](ronin-new-script.1.md)
@@ -1,46 +1,34 @@
1
- .\" Generated by kramdown-man 0.1.8
1
+ .\" Generated by kramdown-man 1.0.1
2
2
  .\" https://github.com/postmodern/kramdown-man#readme
3
3
  .TH ronin-new-script 1 "2023-02-01" Ronin "User Manuals"
4
- .LP
5
4
  .SH SYNOPSIS
6
- .LP
7
- .HP
5
+ .PP
8
6
  \fBronin new script\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
9
- .LP
10
7
  .SH DESCRIPTION
11
- .LP
12
8
  .PP
13
9
  Creates a new standalone Ruby script\.
14
- .LP
15
10
  .SH ARGUMENTS
16
- .LP
17
11
  .TP
18
12
  \fIPATH\fP
19
13
  The path to the new script file\.
20
- .LP
21
14
  .SH OPTIONS
22
- .LP
23
15
  .TP
24
- \fB-h\fR, \fB--help\fR
16
+ \fB\-h\fR, \fB\-\-help\fR
25
17
  Print help information
26
- .LP
27
18
  .SH EXAMPLES
28
- .LP
29
19
  .PP
30
20
  Generate a new Ruby script:
31
- .LP
32
- .nf
33
- ronin new script file\.rb
34
- .fi
35
- .LP
21
+ .PP
22
+ .RS 4
23
+ .EX
24
+ \[Do] ronin new script file\.rb
25
+ .EE
26
+ .RE
36
27
  .SH AUTHOR
37
- .LP
38
28
  .PP
39
29
  Postmodern
40
30
  .MT postmodern\.mod3\[at]gmail\.com
41
31
  .ME
42
- .LP
43
32
  .SH SEE ALSO
44
- .LP
45
33
  .PP
46
- ronin\-new\-project(1)
34
+ .BR ronin\-new\-project (1)
@@ -11,18 +11,18 @@ Creates a new standalone Ruby script.
11
11
  ## ARGUMENTS
12
12
 
13
13
  *PATH*
14
- The path to the new script file.
14
+ : The path to the new script file.
15
15
 
16
16
  ## OPTIONS
17
17
 
18
18
  `-h`, `--help`
19
- Print help information
19
+ : Print help information
20
20
 
21
21
  ## EXAMPLES
22
22
 
23
23
  Generate a new Ruby script:
24
24
 
25
- ronin new script file.rb
25
+ $ ronin new script file.rb
26
26
 
27
27
  ## AUTHOR
28
28
 
@@ -30,4 +30,4 @@ Postmodern <postmodern.mod3@gmail.com>
30
30
 
31
31
  ## SEE ALSO
32
32
 
33
- ronin-new-project(1)
33
+ [ronin-new-project](ronin-new-project.1.md)