Skip to content

Commit

Permalink
post review fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-prosser committed Sep 25, 2023
1 parent 8328f0b commit 525e499
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cli/src/commands/create/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,13 @@ pub enum CreateArgs {
/// Set a new value for a quota
Quota(CreateQuotaArgs),

#[structopt(name = "streams")]
#[structopt(name = "stream")]
/// Create a stream
Stream(CreateStreamsArgs),

#[structopt(name = "streams")]
/// Create streams
Streams(CreateStreamsArgs),
}

pub fn run(
Expand All @@ -90,6 +94,8 @@ pub fn run(
stream_exception::create(&client, stream_exception_args, printer)
}
CreateArgs::Quota(quota_args) => quota::create(&client, quota_args),
CreateArgs::Stream(stream_args) => streams::create(&client, stream_args),
CreateArgs::Stream(stream_args) | CreateArgs::Streams(stream_args) => {
streams::create(&client, stream_args)
}
}
}

0 comments on commit 525e499

Please sign in to comment.