wasmerio/wasmer · error
No secret name given. Provide one as a positional argument.
Error message
No secret name given. Provide one as a positional argument.
What it means
Error "No secret name given. Provide one as a positional argument." thrown in wasmerio/wasmer.
Source
Thrown at lib/cli/src/commands/app/secrets/update.rs:69
/* --- Parameters --- */
/// The name of the secret to update.
#[clap(name = "name")]
pub secret_name: Option<String>,
/// The value of the secret to update.
#[clap(name = "value")]
pub secret_value: Option<String>,
}
impl CmdAppSecretsUpdate {
fn get_secret_name(&self) -> anyhow::Result<String> {
if let Some(name) = &self.secret_name {
return Ok(name.clone());
}
if self.non_interactive {
anyhow::bail!("No secret name given. Provide one as a positional argument.")
} else {
let theme = ColorfulTheme::default();
Ok(dialoguer::Input::with_theme(&theme)
.with_prompt("Enter the name of the secret:")
.interact_text()?)
}
}
fn get_secret_value(&self) -> anyhow::Result<String> {
if let Some(value) = &self.secret_value {
return Ok(value.clone());
}
if self.non_interactive {
anyhow::bail!("No secret value given. Provide one as a positional argument.")
} else {
let theme = ColorfulTheme::default();
Ok(dialoguer::Input::with_theme(&theme)View on GitHub (pinned to 8c4b9ee9d3)
When it happens
Trigger: Thrown at lib/cli/src/commands/app/secrets/update.rs:69 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of wasmerio/wasmer@8c4b9ee9d3 (2026-09-01).
Data as JSON: /api/errors/2ba4f599997831f8.
Report an issue: GitHub.