feat: with placeholder instead
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
e16604782c
commit
41780fbaf5
@ -111,7 +111,7 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
.prompt()?;
|
.prompt()?;
|
||||||
let entity = inquire::Text::new("entity")
|
let entity = inquire::Text::new("entity")
|
||||||
.with_help_message("please set which entity you want to publish for")
|
.with_help_message("please set which entity you want to publish for")
|
||||||
.with_default("example")
|
.with_placeholder("some-entity")
|
||||||
.prompt_skippable()?;
|
.prompt_skippable()?;
|
||||||
|
|
||||||
if let Some(entity) = entity {
|
if let Some(entity) = entity {
|
||||||
|
Loading…
Reference in New Issue
Block a user