From 450cc36758d539df24150b48f1f6b5692046a97c Mon Sep 17 00:00:00 2001 From: Edoardo Marangoni Date: Wed, 17 Jul 2024 18:15:43 +0200 Subject: [PATCH] fix(cli/secrets): Clearer doc comments --- lib/cli/src/commands/app/secrets/create.rs | 2 +- lib/cli/src/commands/app/secrets/delete.rs | 2 +- lib/cli/src/commands/app/secrets/list.rs | 2 +- lib/cli/src/commands/app/secrets/reveal.rs | 2 +- lib/cli/src/commands/app/secrets/update.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/cli/src/commands/app/secrets/create.rs b/lib/cli/src/commands/app/secrets/create.rs index da2ee56cada..4fe5ffd30f2 100644 --- a/lib/cli/src/commands/app/secrets/create.rs +++ b/lib/cli/src/commands/app/secrets/create.rs @@ -13,7 +13,7 @@ use std::{ }; use wasmer_api::WasmerClient; -/// Create a new secret related to an Edge app. +/// Create a new app secret. #[derive(clap::Parser, Debug)] pub struct CmdAppSecretsCreate { /* --- Common flags --- */ diff --git a/lib/cli/src/commands/app/secrets/delete.rs b/lib/cli/src/commands/app/secrets/delete.rs index 857c75e72fc..6e6415f2f64 100644 --- a/lib/cli/src/commands/app/secrets/delete.rs +++ b/lib/cli/src/commands/app/secrets/delete.rs @@ -10,7 +10,7 @@ use wasmer_api::WasmerClient; use super::utils::{self, get_secrets}; -/// Delete an existing secret related to an Edge app. +/// Delete an existing app secret. #[derive(clap::Parser, Debug)] pub struct CmdAppSecretsDelete { /* --- Common flags --- */ diff --git a/lib/cli/src/commands/app/secrets/list.rs b/lib/cli/src/commands/app/secrets/list.rs index 2d57c1d47dd..ecc95ff24e7 100644 --- a/lib/cli/src/commands/app/secrets/list.rs +++ b/lib/cli/src/commands/app/secrets/list.rs @@ -6,7 +6,7 @@ use crate::{ use is_terminal::IsTerminal; use std::path::PathBuf; -/// Retrieve the value of an existing secret related to an Edge app. +/// Retrieve the value of an existing app secret. #[derive(clap::Parser, Debug)] pub struct CmdAppSecretsList { /* --- Common flags --- */ diff --git a/lib/cli/src/commands/app/secrets/reveal.rs b/lib/cli/src/commands/app/secrets/reveal.rs index 224e6184997..7725cdc548b 100644 --- a/lib/cli/src/commands/app/secrets/reveal.rs +++ b/lib/cli/src/commands/app/secrets/reveal.rs @@ -8,7 +8,7 @@ use dialoguer::theme::ColorfulTheme; use is_terminal::IsTerminal; use std::path::PathBuf; -/// Reveal the value of an existing secret related to an Edge app. +/// Reveal the value of an existing app secret. #[derive(clap::Parser, Debug)] pub struct CmdAppSecretsReveal { /* --- Common flags --- */ diff --git a/lib/cli/src/commands/app/secrets/update.rs b/lib/cli/src/commands/app/secrets/update.rs index 45f84677743..ecf438e7641 100644 --- a/lib/cli/src/commands/app/secrets/update.rs +++ b/lib/cli/src/commands/app/secrets/update.rs @@ -13,7 +13,7 @@ use std::{ }; use wasmer_api::WasmerClient; -/// Update an existing secret related to an Edge app. +/// Update an existing app secret. #[derive(clap::Parser, Debug)] pub struct CmdAppSecretsUpdate { /* --- Common args --- */