You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add some details on the expected file formats (#1662)
This tiny PR documents in a bit more details how the arguments to
`db-synthesizer` program look like. In particular, it wasn't obvious
what the "bulk credentials" structure was and I got it only after
looking at the example. HTH.
Copy file name to clipboardExpand all lines: ouroboros-consensus-cardano/app/DBSynthesizer/Parsers.hs
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ parseOperationalCertFilePath =
71
71
strOption
72
72
( long "shelley-operational-certificate"
73
73
<> metavar "FILE"
74
-
<> help "Path to the delegation certificate"
74
+
<> help "Path to the delegation certificate (in JSON TextEnvelope format)"
75
75
<> completer (bashCompleter "file")
76
76
)
77
77
@@ -80,7 +80,7 @@ parseKesKeyFilePath =
80
80
strOption
81
81
( long "shelley-kes-key"
82
82
<> metavar "FILE"
83
-
<> help "Path to the KES signing key"
83
+
<> help "Path to the KES signing key (in JSON TextEnvelope format)"
84
84
<> completer (bashCompleter "file")
85
85
)
86
86
@@ -89,7 +89,7 @@ parseVrfKeyFilePath =
89
89
strOption
90
90
( long "shelley-vrf-key"
91
91
<> metavar "FILE"
92
-
<> help "Path to the VRF signing key"
92
+
<> help "Path to the VRF signing key (in JSON TextEnvelope format)"
93
93
<> completer (bashCompleter "file")
94
94
)
95
95
@@ -98,7 +98,8 @@ parseBulkFilePath =
98
98
strOption
99
99
( long "bulk-credentials-file"
100
100
<> metavar "FILE"
101
-
<> help "Path to the bulk credentials file"
101
+
<> help
102
+
"Path to the bulk credentials file (a JSON file containing an array of arrays containing 3 TextEnvelope objects for the opcert, VRF Signing key, KES signing key)"
0 commit comments