diff --git a/cli/src/commands/create/mod.rs b/cli/src/commands/create/mod.rs index e51f10ae..9fb1b84b 100644 --- a/cli/src/commands/create/mod.rs +++ b/cli/src/commands/create/mod.rs @@ -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( @@ -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) + } } }