File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -197,16 +197,26 @@ registryOption =
197
197
antithesisAuthOption :: Parser AntithesisAuth
198
198
antithesisAuthOption =
199
199
cardanoWithPwd
200
- <$> secretsParser
200
+ <$> antithesisUserOption
201
+ <*> secretsParser
201
202
" Enter the password to access Antithesis"
202
203
" The password to access Antithesis"
203
204
" ANTI_ANTITHESIS_PASSWORD"
204
205
" PASSWORD"
205
206
" ask-antithesis-password"
206
207
" antithesisPassword"
207
208
where
208
- cardanoWithPwd pwd =
209
- AntithesisAuth {username = " cardano" , password = pwd}
209
+ cardanoWithPwd username pwd =
210
+ AntithesisAuth {username = username, password = pwd}
211
+
212
+ antithesisUserOption :: Parser String
213
+ antithesisUserOption =
214
+ setting
215
+ [ env " ANTI_ANTITHESIS_USER"
216
+ , metavar " ANTITHESIS_USER"
217
+ , help " The username of the Antithesis account"
218
+ , reader str
219
+ ]
210
220
211
221
downloadAssetsOptions
212
222
:: Parser
You can’t perform that action at this time.
0 commit comments