Skip to content

Commit

Permalink
Merge pull request #178 from kate-goldenring/add-kv-link-description
Browse files Browse the repository at this point in the history
fix(KV): add description to KV link instruction
  • Loading branch information
kate-goldenring committed Jan 30, 2024
2 parents 0c28ed8 + 6bc0634 commit 8c1224a
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 8c1224a

Please sign in to comment.