Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(KV): add description to KV link instruction #178

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading