-
Notifications
You must be signed in to change notification settings - Fork 31
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
ngctl: Nebula Graph Kubernetes Control #38
Conversation
veezhang
commented
Jul 1, 2021
•
edited by kqzh
Loading
edited by kqzh
- cmd framework
- version
- use
- list
- info
- console
- debug
- doc
Fix: #32 |
pkg/ngctl/cmd/cmd.go
Outdated
` | ||
) | ||
|
||
func NewNkctlCmd(in io.Reader, out, err io.Writer) *cobra.Command { |
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.
rename this function like NewNgctlCmd will be better
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.
Emm, u r right!
o := NewOptions(ioStreams) | ||
cmd := &cobra.Command{ | ||
Use: "version", | ||
Short: "Print the cli and nebula operator version", |
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.
add Long: "Print the cli and nebula operator version", it's better than Long == ""
Cheers!!! |