-
Notifications
You must be signed in to change notification settings - Fork 36
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
Rename namespace register -> create #80
Conversation
@@ -33,7 +33,7 @@ func NewNamespaceCommands() []*cli.Command { | |||
}, | |||
}, | |||
{ | |||
Name: "register", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably add register
as an alias to avoid breaking existing docs etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, updated
namespace/namespace.go
Outdated
@@ -33,7 +33,7 @@ func NewNamespaceCommands() []*cli.Command { | |||
}, | |||
}, | |||
{ | |||
Name: "register", | |||
Name: "create", | |||
Usage: "Register a new Namespace", | |||
Flags: registerNamespaceFlags, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flags variable should be renamed to createNamespaceFlags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
What was changed
Renamed
temporal operator namespace register
->temporal operator namespace create
Why?
Consistency with other commands and Temporal Cloud UI
Checklist
Closes
How was this tested:
updated tests