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
<>OA.help "Number of pool nodes. Note this uses a default node configuration for all nodes."
74
-
<>OA.metavar "COUNT"
75
-
<>OA.showDefault
76
-
<>OA.value 1)
77
-
, UserProvidedNodeOptions
78
-
<$> strOption ( long "node-config"
79
-
<> metavar "FILEPATH"
80
-
<> help "Path to the node's configuration file (which is generated otherwise). If you use this option, you should also pass all the genesis files (files pointed to by the fields \"AlonzoGenesisFile\", \"ShelleyGenesisFile\", etc.).")
81
-
]
75
+
-- If `--num-pool-nodes N` is present, return N nodes with option `SpoNodeOptions []`.
<>OA.help "Path to the node's environment (which is generated otherwise). You can generate a default environment with the 'create-env' command, then modify it and pass it with this argument."
92
+
)
93
+
94
+
pEnvOutputDir::ParserFilePath
95
+
pEnvOutputDir =OA.strOption
96
+
( OA.long "output"
97
+
<>OA.help "Directory where to create the sandbox environment."
98
+
<>OA.metavar "DIRECTORY"
99
+
)
88
100
89
101
pGenesisOptions::ParserGenesisOptions
90
102
pGenesisOptions =
@@ -95,7 +107,7 @@ pGenesisOptions =
95
107
<*> pActiveSlotCoeffs
96
108
where
97
109
pEpochLength =
98
-
OA.option auto
110
+
OA.option OA.auto
99
111
( OA.long "epoch-length"
100
112
-- TODO Check that this flag is not used when a custom Shelley genesis file is passed
101
113
<>OA.help "Epoch length, in number of slots. Ignored if a custom Shelley genesis file is passed."
@@ -104,7 +116,7 @@ pGenesisOptions =
104
116
<>OA.value (genesisEpochLength def)
105
117
)
106
118
pSlotLength =
107
-
OA.option auto
119
+
OA.option OA.auto
108
120
( OA.long "slot-length"
109
121
-- TODO Check that this flag is not used when a custom Shelley genesis file is passed
110
122
<>OA.help "Slot length. Ignored if a custom Shelley genesis file is passed."
@@ -113,7 +125,7 @@ pGenesisOptions =
113
125
<>OA.value (genesisSlotLength def)
114
126
)
115
127
pActiveSlotCoeffs =
116
-
OA.option auto
128
+
OA.option OA.auto
117
129
( OA.long "active-slots-coeff"
118
130
-- TODO Check that this flag is not used when a custom Shelley genesis file is passed
119
131
<>OA.help "Active slots coefficient. Ignored if a custom Shelley genesis file is passed."
0 commit comments