Skip to content

Commit f2d9d34

Browse files
Merge pull request #179 from kate-goldenring/update-unlink-kv-command-name
fix(KV): update unlink kv command to match link kv command
2 parents 8c1224a + 00ec4c0 commit f2d9d34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/link.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use uuid::Uuid;
1111
pub enum LinkCommand {
1212
/// Link an app to a SQLite database
1313
Sqlite(SqliteLinkCommand),
14-
/// Link an app to a Key Value Store
14+
/// Link an app to a key value store
1515
#[clap(alias = "kv")]
1616
KeyValue(KeyValueStoreLinkCommand),
1717
}
@@ -234,7 +234,7 @@ pub enum UnlinkCommand {
234234
Sqlite(SqliteUnlinkCommand),
235235
/// Unlink an app from a key value store
236236
#[clap(alias = "kv")]
237-
KeyValueStore(KeyValueStoreUnlinkCommand),
237+
KeyValue(KeyValueStoreUnlinkCommand),
238238
}
239239

240240
impl UnlinkCommand {
@@ -245,7 +245,7 @@ impl UnlinkCommand {
245245
client_and_app_id(cmd.common.deployment_env_id.as_deref(), &cmd.app).await?;
246246
cmd.unlink(client, app_id).await
247247
}
248-
Self::KeyValueStore(cmd) => {
248+
Self::KeyValue(cmd) => {
249249
let (client, app_id) =
250250
client_and_app_id(cmd.common.deployment_env_id.as_deref(), &cmd.app).await?;
251251
cmd.unlink(client, app_id).await

0 commit comments

Comments
 (0)