Skip to content

Commit

Permalink
fix(KV): add description to KV link instruction
Browse files Browse the repository at this point in the history
Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com>
  • Loading branch information
kate-goldenring committed Jan 30, 2024
1 parent 0c28ed8 commit 6bc0634
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ use uuid::Uuid;
pub enum LinkCommand {
/// Link an app to a SQLite database
Sqlite(SqliteLinkCommand),
/// Link an app to a Key Value Store
#[clap(alias = "kv")]
KeyValueStore(KeyValueStoreLinkCommand),
KeyValue(KeyValueStoreLinkCommand),
}

#[derive(Parser, Debug)]
Expand Down Expand Up @@ -51,7 +52,7 @@ impl LinkCommand {
client_and_app_id(cmd.common.deployment_env_id.as_deref(), &cmd.app).await?;
cmd.link(client, app_id).await
}
Self::KeyValueStore(cmd) => {
Self::KeyValue(cmd) => {
let (client, app_id) =
client_and_app_id(cmd.common.deployment_env_id.as_deref(), &cmd.app).await?;
cmd.link(client, app_id).await
Expand Down

0 comments on commit 6bc0634

Please sign in to comment.