@@ -138,11 +138,13 @@ type RunL1NodeChainIdInput struct {
138
138
}
139
139
140
140
func NewRunL1NodeChainIdInput (state * RunL1NodeState ) * RunL1NodeChainIdInput {
141
- return & RunL1NodeChainIdInput {
141
+ model := & RunL1NodeChainIdInput {
142
142
TextInput : utils .NewTextInput (),
143
143
state : state ,
144
144
question : "Please specify the chain id" ,
145
145
}
146
+ model .WithPlaceholder ("Enter in alphanumeric format" )
147
+ return model
146
148
}
147
149
148
150
func (m * RunL1NodeChainIdInput ) GetQuestion () string {
@@ -175,11 +177,13 @@ type RunL1NodeMonikerInput struct {
175
177
}
176
178
177
179
func NewRunL1NodeMonikerInput (state * RunL1NodeState ) * RunL1NodeMonikerInput {
178
- return & RunL1NodeMonikerInput {
180
+ model := & RunL1NodeMonikerInput {
179
181
TextInput : utils .NewTextInput (),
180
182
state : state ,
181
183
question : "Please specify the moniker" ,
182
184
}
185
+ model .WithPlaceholder ("Enter moniker" )
186
+ return model
183
187
}
184
188
185
189
func (m * RunL1NodeMonikerInput ) GetQuestion () string {
@@ -336,7 +340,7 @@ func NewMinGasPriceInput(state *RunL1NodeState) *MinGasPriceInput {
336
340
state : state ,
337
341
question : "Please specify min-gas-price" ,
338
342
}
339
- model .WithPlaceholder ("add a number with denom" )
343
+ model .WithPlaceholder ("Enter a number with its denom" )
340
344
model .WithValidatorFn (utils .ValidateDecCoin )
341
345
return model
342
346
}
@@ -439,7 +443,7 @@ func NewSeedsInput(state *RunL1NodeState) *SeedsInput {
439
443
state : state ,
440
444
question : "Please specify the seeds" ,
441
445
}
442
- model .WithPlaceholder ("add in the format id@ip:port, you can add multiple seeds by adding comma (,)" )
446
+ model .WithPlaceholder ("Enter in the format ` id@ip:port`. You can add multiple seeds by separating them with a comma (,)" )
443
447
model .WithValidatorFn (utils .IsValidPeerOrSeed )
444
448
return model
445
449
}
@@ -479,7 +483,7 @@ func NewPersistentPeersInput(state *RunL1NodeState) *PersistentPeersInput {
479
483
state : state ,
480
484
question : "Please specify the persistent_peers" ,
481
485
}
482
- model .WithPlaceholder ("add in the format id@ip:port, you can add multiple seeds by adding comma (,)" )
486
+ model .WithPlaceholder ("Enter in the format ` id@ip:port`. You can add multiple seeds by separating them with a comma (,)" )
483
487
model .WithValidatorFn (utils .IsValidPeerOrSeed )
484
488
return model
485
489
}
0 commit comments